login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022957 Unique increasing sequence satisfying a(n) = a(n-5) + c(n-5); where c( ) is complement of a( ). 2
1, 2, 3, 4, 5, 7, 10, 12, 15, 18, 21, 26, 29, 34, 38, 43, 49, 53, 59, 65, 71, 79, 84, 91, 98, 106, 115, 121, 130, 138, 147, 157, 165, 175, 184, 194, 205, 215, 226, 236, 248, 260, 271, 283, 294, 308, 321, 333, 346, 358, 374, 388, 401, 415, 428, 446, 461 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Here "complement" refers to the numbers not in the sequence.

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, 3, 4, 5}, Range[52]] (* Ivan Neretin, Apr 05 2016 *)

CROSSREFS

Cf. A005228 and references therein.

Sequence in context: A255641 A122975 A089597 * A036028 A036033 A124243

Adjacent sequences:  A022954 A022955 A022956 * A022958 A022959 A022960

KEYWORD

nonn

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified September 25 21:33 EDT 2017. Contains 292500 sequences.