0,3

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

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

If n <= 7, then a(n) = n, otherwise a(n) = a(n-1) + A240025(n) + A240025(n-1).

(Scheme, two variants)

(define (A265359 n) (if (zero? n) n (- n (A265409 n))))

(definec (A265359 n) (cond ((<= n 7) n) (else (+ (A265359 (- n 1)) (A240025 n) (A240025 (- n 1))))))

Cf. A000267, A002620, A240025, A265409.

Sequence in context: A134679 A100721 A337979 * A271490 A252649 A095703

Adjacent sequences: A265356 A265357 A265358 * A265360 A265361 A265362

nonn

Antti Karttunen, Dec 16 2015

approved