login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A218599
After the first zero, integers from A213709(n)-1 to 0 followed by integers from A213709(n+1)-1 to 0, etc.
2
0, 0, 0, 1, 0, 2, 1, 0, 4, 3, 2, 1, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
OFFSET
0,6
LINKS
FORMULA
a(n) = A218600(A213711(n))-n.
PROG
(Scheme): (define (A218599 n) (- (A218600 (A213711 n)) n))
CROSSREFS
Cf. A218601.
Sequence in context: A092488 A068527 A361989 * A051623 A244124 A183190
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 10 2012
STATUS
approved