OFFSET
0,5
COMMENTS
FORMULA
a(2n) = A158119(n) for n>=0; a(2n-1) = 0 for n>=2, with a(1)=1.
G.f. A = A(x) satisfies: A(x) = 1/(1-x/A - (x/A)^2/(1-x/A - 2^2*(x/A)^2/(1-x/A - 3^2*(x/A)^2/(1-x/A - 4^2*(x/A)^2/(1-x/A - 5^2*(x/A)^2/(1-x/A -...)))))), a recursive continued fraction. [From Paul D. Hanna, Jan 05 2012]
EXAMPLE
G.f.: A(x) = 1 + x + x^2 + 3*x^4 + 38*x^6 + 947*x^8 + 37394*x^10 +...
where G(x) = A(x*G(x)) is the o.g.f. of A003701:
G(x) = 1 + x + 2*x^2 + 4*x^3 + 12*x^4 + 36*x^5 + 152*x^6 + 624*x^7 +...
while the e.g.f. of A003701 is given by:
exp(x)/cos(x) = 1 + x + 2*x^2/2! + 4*x^3/3! + 12*x^4/4! + 36*x^5/5! +...
PROG
(PARI) {a(n)=local(X=x+x*O(x^n), G=sum(m=0, n, m!*polcoeff(exp(X)/cos(X), m)*x^m)+x*O(x^n)); polcoeff(x/serreverse(x*G), n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 07 2010
STATUS
approved