0,4

Also the first differences of A219666, shifted once right and prepended with zero.

This sequence relates to the factorial base representation (A007623) in the same way as A213712 relates to the binary system.

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

a(n) = A034968(A219666(n)).

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

a(A226061(n)) = A000217(n-1) for all n.

(Scheme)

(define (A230406 n) (A034968 (A219666 n)))

;; Alternative definition:

(define (A230406 n) (if (zero? n) n (- (A219666 n) (A219666 (- n 1)))))

Cf. also A230418, A230410.

Sequence in context: A258778 A112924 A267148 * A214254 A153092 A165601

Adjacent sequences: A230403 A230404 A230405 * A230407 A230408 A230409

nonn

Antti Karttunen, Nov 09 2013

approved