OFFSET
0,46
COMMENTS
The sequence of nonzero terms is (apart from the term a(1)=1 here) the same as that for A218031, see the formula "F(x) - x = A(x^3)".
FORMULA
G.f.: F(x) = 1+x/ (1-x^2/ (1+x^2/ (1-x^4/ (1+x^4 /(1-x^8/ (1+x^8/ (1-x^16/ ... ))))))) (continued fraction).
F(x) - x = A(x^3) where A(x) is the g.f. of A218031. Note that for G(x) = F(x) - x we have G(x) = 1 + x^3/G(x^2) = 1 + x^3/(1 + x^6 / G(x^2) ) = ... = 1 + x^3/(1 + x^6 / (1 + x^12 / (1 + x^24 / (...) ) ) ) = A(x^3).
PROG
(PARI)
N=166; R=O('x^N); x='x+R;
F = 1; for (k=1, N+1, F = 1 + x / (1 - x^2 / subst(F, 'x, 'x^2) ) + R; );
Vec(F)
CROSSREFS
KEYWORD
sign
AUTHOR
Joerg Arndt, Feb 28 2014
STATUS
approved