OFFSET
0,2
COMMENTS
Linear recurrence and empirical g.f confirmed for more terms. - Ray Chandler, Mar 07 2024
LINKS
Ray Chandler, Table of n, a(n) for n = 0..2005
Index entries for linear recurrences with constant coefficients, signature (2, 1, 7, 3, 3, 1).
FORMULA
Empirical g.f.: -(x^5 +2*x^4 +5*x^3 +4*x^2 +3*x +1) / (x^6 +3*x^5 +3*x^4 +7*x^3 +x^2 +2*x-1). - Colin Barker, Apr 08 2013
MATHEMATICA
a[0] = 1; a[1] = 5; a[2] = 15; a[3] = 47; a[4] = 149; a[5] = 469; a[n_] := a[n] = a[n-6] + 3*a[n-5] + 3*a[n-4] + 7*a[n-3] + a[n-2] + 2*a[n-1]; Table[a[n], {n, 0, 26}] (* Jean-François Alcover, Nov 23 2016 *)
LinearRecurrence[{2, 1, 7, 3, 3, 1}, {1, 5, 15, 47, 149, 469}, 27] (* or *)
CoefficientList[ Series[-(x^5 + 2x^4 + 5x^3 + 4x^2 + 3x + 1)/(x^6 + 3x^5 + 3x^4 + 7x^3 + x^2 + 2x -1), {x, 0, 26}], x] (* Robert G. Wilson v, Nov 23 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 18 2007
STATUS
approved