OFFSET
0,2
COMMENTS
Row sums of A147721.
Hankel transform of a(n) is [1,4,0,0,0,0,0,0,...]. [Philippe Deléham, Dec 03 2008]
LINKS
Indranil Ghosh, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (5,-2).
FORMULA
G.f.: (1-3x)/(1-5x+2x^2).
a(n) = 5*a(n-1)-2*a(n-2), a(0)=1, a(1)=2. [Philippe Deléham, Nov 13 2008]
MATHEMATICA
CoefficientList[Series[(1 - 3x)/(1 - 5x + 2x^2) , {x, 0, 21}], x] (* Indranil Ghosh, Mar 10 2017 *)
LinearRecurrence[{5, -2}, {1, 2}, 30] (* Harvey P. Dale, Aug 26 2021 *)
PROG
(PARI) Vec((1 - 3*x)/(1 - 5*x + 2*x^2) + O(x^22)) \\ Indranil Ghosh, Mar 10 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Nov 11 2008
STATUS
approved