The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A218601 After the first zero, integers from 0 to A213709(n)-1 followed by integers from 0 to A213709(n+1)-1, etc. 5

%I #6 Nov 10 2012 20:48:33

%S 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,

%T 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,

%U 20,21,22,23,24,25,26,27,28,29,0

%N After the first zero, integers from 0 to A213709(n)-1 followed by integers from 0 to A213709(n+1)-1, etc.

%H Antti Karttunen, <a href="/A218601/b218601.txt">Table of n, a(n) for n = 0..8727</a>

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

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

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

%K nonn

%O 0,8

%A _Antti Karttunen_, Nov 10 2012

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 June 7 09:50 EDT 2024. Contains 373162 sequences. (Running on oeis4.)