OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
a(1)=2, a(2*n) = a(n)+2*n+1, a(2*n+1) = 2*n+2.
Dirichlet g.f.: 2^s/(2^s-1) * (zeta(s)+zeta(s-1)). - Ralf Stephan, Jun 17 2007
From Seiichi Manyama, May 27 2024: (Start)
G.f. A(x) satisfies A(x) = 1/(1 - x)^2 - 1 + A(x^2).
G.f.: A(x) = Sum_{k>=0} (1/(1 - x^(2^k))^2 - 1). (End)
Conjecture: a(n) is the number of integer solutions (x,y,z) to the Diophantine equation 2^x*(y+z) = n, where 0 <= x,y,z <= n. - Joseph M. Shunia, Aug 27 2024
Sum_{k=1..n} a(k) ~ 2*n^2/3 + 2*n. - Vaclav Kotesovec, Aug 28 2024
PROG
(PARI) for(n=1, 100, l=ceil(log(n)/log(2)); t=polcoeff(sum(k=0, l, 1/(1-x^2^k)^2) + O(x^(n+1)), n); print1(t", "))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Jun 27 2003
STATUS
approved