login
A019487
a(n) = 3*a(n-1) - a(n-2) + 2*a(n-3) - 2*a(n-4).
0
2, 6, 17, 48, 135, 379, 1064, 2987, 8385, 23538, 66075, 185483, 520680, 1461631, 4103029, 11517850, 32332423, 90762215, 254783864, 715218523, 2007731289, 5636018642, 15821193955, 44412588755, 124673147016, 349977202919
OFFSET
0,1
REFERENCES
R. K. Guy, personal communication.
FORMULA
G.f.: ( 2+x^2-x^3 ) / ( 1-3*x+x^2-2*x^3+2*x^4 ). - R. J. Mathar, Feb 11 2016
MATHEMATICA
LinearRecurrence[{3, -1, 2, -2}, {2, 6, 17, 48}, 30] (* Harvey P. Dale, May 13 2019 *)
CROSSREFS
Cf. A018915.
Sequence in context: A299166 A136776 A018915 * A077936 A077983 A365244
KEYWORD
nonn,easy
STATUS
approved