OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
FORMULA
Coefficient of x^(2^n) in 1/((1-x)*(1-x^2)*(1-x^3)).
Conjectures: (Start)
a(n) = (8+3*2^(1+n)+4^n)/12 for n>0.
a(n) = 7*a(n-1)-14*a(n-2)+8*a(n-3) for n>3.
G.f.: (1-5*x+4*x^2+2*x^3) / ((1-x)*(1-2*x)*(1-4*x)).
(End)
PROG
(PARI)
\\ b(n) is the coefficient of x^n in the g.f. 1/((1-x)*(1-x^2)*(1-x^3)).
b(n) = round(real((47+9*(-1)^n + 8*exp(-2/3*I*n*Pi) + 8*exp((2*I*n*Pi)/3) + 36*n+6*n^2)/72))
vector(50, n, n--; b(2^n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jun 15 2016
STATUS
approved