OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
G.f.: x * Product_{k>=0} (1 + 9*x^(2^k) + x^(2^(k+1))).
MAPLE
N:= 100: # for a(0) to a(N)
g:= x*mul(1+9*x^(2^k)+x^(2^(k+1)), k=0..ilog2(N)):
S:= series(g, x, N+1):
seq(coeff(S, x, i), i=0..N); # Robert Israel, May 04 2023
MATHEMATICA
a[0] = 0; a[1] = 1; a[n_] := If[EvenQ[n], 9 a[n/2], a[(n - 1)/2] + a[(n + 1)/2]]; Table[a[n], {n, 0, 51}]
nmax = 51; CoefficientList[Series[x Product[(1 + 9 x^(2^k) + x^(2^(k + 1))), {k, 0, Floor[Log[2, nmax]] + 1}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Ilya Gutkovskiy, Mar 16 2021
STATUS
approved