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

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 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 Ivan Neretin, Table of n, a(n) for n = 1..10000 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 Adjacent sequences: A022936 A022937 A022938 * A022940 A022941 A022942 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.

Last modified November 28 11:08 EST 2022. Contains 358411 sequences. (Running on oeis4.)