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!)
A022956 Unique increasing sequence satisfying a(n) = a(n-4) + c(n-4); where c( ) is complement of a( ). 2
1, 2, 3, 4, 6, 9, 11, 14, 18, 22, 26, 30, 35, 41, 46, 51, 58, 65, 71, 78, 86, 94, 102, 110, 119, 128, 138, 147, 157, 167, 178, 189, 200, 211, 223, 236, 248, 260, 273, 288, 301, 314, 328, 344, 358, 373, 388, 405, 420, 436, 452, 471, 487, 504, 521, 541 (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, 4}, Range[52]] (* Ivan Neretin, Apr 05 2016 *)
CROSSREFS
Cf. A005228 and references therein.
Sequence in context: A347657 A033069 A368481 * A331444 A039865 A304428
KEYWORD
nonn
AUTHOR
EXTENSIONS
Missing term a(44)=344 added by Ivan Neretin, Apr 05 2016
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 April 24 19:39 EDT 2024. Contains 371963 sequences. (Running on oeis4.)