login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218601 After the first zero, integers from 0 to A213709(n)-1 followed by integers from 0 to A213709(n+1)-1, etc. 5
0, 0, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,8

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..8727

FORMULA

a(0)=0, and for n>0, a(n) = (n-A218600(A213711(n)-1))-1.

PROG

(Scheme): (define (A218601 n) (if (zero? n) n (-1+ (- n (A218600 (-1+ (A213711 n)))))))

CROSSREFS

Needed for A218602. Cf. also A218599, A053645, A082853, A002262.

Sequence in context: A053186 A066628 A255120 * A262678 A238794 A135317

Adjacent sequences:  A218598 A218599 A218600 * A218602 A218603 A218604

KEYWORD

nonn

AUTHOR

Antti Karttunen, Nov 10 2012

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 11:19 EST 2021. Contains 341606 sequences. (Running on oeis4.)