login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022955 Unique increasing sequence satisfying a(n) = a(n-3) + c(n-3); where c( ) is complement of a( ). 2
1, 2, 3, 5, 8, 10, 14, 19, 22, 27, 34, 38, 44, 52, 58, 65, 75, 82, 90, 101, 110, 119, 131, 141, 151, 164, 176, 187, 201, 215, 227, 242, 257, 270, 287, 303, 317, 335, 352, 367, 386, 405, 421, 441, 461, 478, 500, 521, 539, 562, 584, 603, 628, 651 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Here "complement" refers to the numbers not in the sequence.
LINKS
MATHEMATICA
Fold[Append[#1, #1[[#2]] + Complement[Range[Max@#1 + 1], #1][[#2]]] &, {1, 2, 3}, Range[50]] (* Ivan Neretin, Apr 05 2016 *)
CROSSREFS
Cf. A005228 and references therein.
Sequence in context: A183871 A211542 A368052 * A363076 A254297 A306972
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 2 16:14 EDT 2024. Contains 372197 sequences. (Running on oeis4.)