OFFSET
0,1
COMMENTS
a(n) ~ c/r^n, where r = -0.54944587773859960333406076695895194626366374257497442830... and c = 0.6098779103867259353642411483841966048261178594794555738...
The g.f. of related triangle A275760 satisfies: G(x,y) = x*y + 1/G(x,x*y) with G(0,y) = 1.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3842 (terms 0..500 from Paul D. Hanna)
FORMULA
Equals the diagonal sums of the irregular triangle A275760.
G.f.: G(x,1/x), where G(x,y) = x*y + 1/G(x,x*y) with G(0,y) = 1, where G(x,y) is the g.f. of A275760.
G.f.: 2 - x/(1+x + x/(1+x^2 - x^4/(1+x^3 + x^2/(1+x^4 - x^7/(1+x^5 + x^3/(1+x^6 - x^10/(1+x^7 + x^4/(1+x^8 - x^13/(1+x^9 + x^5/(1+x^10 - x^16/(1 + ...)))))))))))), a continued fraction.
G.f.: 1/(1 - 1/(1 + (1+x) - x^2/(1 + x*(1+x) - x^4/(1 + x^2*(1+x) - x^6/(1 + x^3*(1+x) - x^8/(1 + x^4*(1+x) - x^10/(1 + x^5*(1+x) - x^12/(1 - ...)))))))), a continued fraction.
G.f.: 1/(1 - 1/(1+x + 1/(1+x^2 - x^3/(1+x^3 + x/(1+x^4 - x^6/(1+x^5 + x^2/(1+x^6 - x^9/(1+x^7 + x^3/(1+x^8 - x^12/(1+x^9 + x^4/(1+x^10 - x^15/(1 + ...)))))))))))), a continued fraction.
G.f.: 1 + 1/(1 + x/(1 + x/(1 + x^2/(1 + x^2/(1 + x^3/(1 + x^3/(1 + ...))))))) since the odd part of this continued fraction equals the defining continued fraction given above. Cf. A006958 and A227309. - Peter Bala, Oct 29 2017
EXAMPLE
G.f.: A(x) = 2 - x + 2*x^2 - 4*x^3 + 7*x^4 - 12*x^5 + 22*x^6 - 41*x^7 + 74*x^8 - 133*x^9 + 243*x^10 - 444*x^11 + 806*x^12 - 1465*x^13 + 2669*x^14 - 4859*x^15 +...
MATHEMATICA
m = 51;
2 + ContinuedFractionK[-x^(2i-1), 1+2x^i, {i, 1, Sqrt[m]//Floor}] + O[x]^m // CoefficientList[#, x]& (* Jean-François Alcover, Nov 02 2019 *)
PROG
(PARI) {a(n) = my(A=1 +x*O(x^n)); for(k=0, n, A = 1/(A + y*x^(n+1-k))); polcoeff(1 + subst(A, y, 1), n)}
for(n=0, 50, print1(a(n), ", "))
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Aug 10 2016
STATUS
approved