0,8

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

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

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

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

nonn

Antti Karttunen, Nov 10 2012

approved