OFFSET
0,3
FORMULA
a(n)=4a(n-1)-a(n-3) for n>3; G.f.: A(x)=(1-3x+4x^2-2x^3)/(1-4x+x^3).
PROG
(PARI) a(0)=1; a(1)=1; for(n=2, 30, a(n)=(sum(k=0, n-1, a(k))^2 + 2*sum(k=0, n-1, a(k)^2))/a(n-1))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Sep 19 2003
STATUS
approved