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!)
A022939 Unique increasing sequence satisfying a(n) = a(n-2) + c(n-2); where c( ) is complement of a( ). 3
1, 2, 4, 7, 10, 15, 19, 26, 31, 39, 45, 55, 62, 73, 82, 94, 104, 117, 128, 142, 155, 170, 184, 200, 216, 233, 250, 268, 286, 305, 324, 345, 365, 387, 408, 431, 454, 478, 502, 527, 552, 578, 604, 631, 658, 687, 715, 745, 774, 805, 835, 868, 899 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Fold[Append[#1, #1[[#2]] + Complement[Range[Max@#1 + 1], #1][[#2]]] &, {1, 2}, Range[50]] (* Ivan Neretin, Apr 04 2016 *)
CROSSREFS
Cf. A005228 and references therein.
Sequence in context: A306221 A095116 A027384 * A036702 A007983 A049640
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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)