OFFSET
0,1
LINKS
FORMULA
a(n) = 20*S(n-1,6) - 3*S(n-2,6), with the Chebyshev polynomials S(n, 6) = A001109(n+1) for n >= -1, with S(-2, 6) = -1.
O.g.f: (3 + 2*x)/(1 - 6*x + x^2).
a(n) = 6*a(n-1) - a(n-2) for n >= 1, with a(-1) = -2 and a(0) = 3.
a(n) = (((3-2*sqrt(2))^n*(-11+6*sqrt(2))+(3+2*sqrt(2))^n*(11+6*sqrt(2)))) / (4*sqrt(2)). - Colin Barker, Sep 28 2016
PROG
(PARI) a(n) = round((((3-2*sqrt(2))^n*(-11+6*sqrt(2))+(3+2*sqrt(2))^n*(11+6*sqrt(2))))/(4*sqrt(2))) \\ Colin Barker, Sep 28 2016
(PARI) Vec((3 + 2*x)/(1 - 6*x + x^2) + O(x^20)) \\ Felix Fröhlich, Sep 28 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Sep 27 2016
STATUS
approved