OFFSET
0,2
FORMULA
G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - (1+x*2^k)/(1-x/(x-1/G(k+1) )); (recursively defined continued fraction). - Sergei N. Gladkovskii, Jan 16 2013
a(n) = Sum_{k=0..floor((n+1)/2)} q-binomial(n-k+1,k)*2^binomial(k,2), where q-binomial is triangle A022166, that is, with q=2. - Vladimir Kruchinin, Jan 21 2020
EXAMPLE
A(x) = (1+x) + x*(1+x)*(1+2x) + x^2*(1+x)*(1+2x)*(1+4x) + x^3*(1+x)*(1+2x)*(1+4x)*(1+8x) +...
PROG
(PARI) a(n)=polcoeff(sum(k=0, n, x^k*prod(j=0, k, 1+2^j*x+x*O(x^n))), n)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 28 2006
STATUS
approved