OFFSET
0,2
COMMENTS
Each term is a sum of partition numbers.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = Sum_{k >=0, 2^k <= n + 1} A000041(n + 1 - 2^k). - Andrew Howroyd, Aug 10 2018
EXAMPLE
a(7) = 32 = (1 + 5 + 11 + 15), = p(0) + p(4) + p(6) + p(7).
PROG
(PARI) a(n) = sum(k=0, logint(n+1, 2), numbpart(n + 1 - 2^k)) \\ Andrew Howroyd, Aug 10 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Feb 15 2010
EXTENSIONS
Terms a(21) and beyond from Andrew Howroyd, Aug 10 2018
STATUS
approved