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!)
A123679 a(n) = 2*n - A123088(n). 1
1, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 3, 0, 0, 0, 1, 0, 1, 2, 3, 4, 0, 0, 0, 0, 1, 0, 1, 0, 1, 2, 0, 0, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 3, 0, 0, 0, 1, 0, 1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 3, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
For k > 1, apparently the smallest n such that a(n) = k is 2^k + k + 1 (see A005126).
LINKS
PROG
(PARI) {m=105; w=vector(2*m); print1(1, ", "); for(n=2, m, k=n; while(w[k], k--); a=n+k; print1(2*n-a, ", "); w[a]=1)}
CROSSREFS
Sequence in context: A301593 A089731 A097098 * A167948 A111755 A144528
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Oct 05 2006
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 06:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)