login
A276439
Partial sums of A276438.
2
0, 1, 2, 3, 2, 3, 4, 5, 4, 5, 4, 5, 4, 5, 4, 5, 4, 5, 6, 7, 6, 7, 6, 5, 7, 8, 7, 6, 8, 9, 8, 9, 8, 7, 9, 10, 9, 8, 7, 8, 7, 9, 10, 9, 8, 10, 11, 10, 9, 8, 7, 8, 7, 8, 7, 8, 7, 8, 9, 10, 9, 10, 9, 8, 10, 11, 10, 9, 8, 9, 8, 9, 10, 11, 10, 9, 8, 9, 8, 10, 11, 10, 11, 10, 9, 8, 9, 10, 11, 10, 11, 12, 13, 12, 11, 10, 9, 8, 9, 10
OFFSET
0,3
LINKS
FORMULA
a(0) = 0; for n >= 1, a(n) = A276438(n) + a(n-1).
PROG
(Scheme, with memoization-macro definec)
(definec (A276439 n) (if (zero? n) n (+ (A276438 n) (A276439 (- n 1)))))
CROSSREFS
Cf. also A064289, A078759.
Differs from A078759 for the first time at n=24, where a(24)=7 while A078759(24)=6.
Sequence in context: A174863 A064289 A078759 * A282701 A095207 A065362
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 04 2016
STATUS
approved