OFFSET
1,2
COMMENTS
Row sums of Riordan array (1/(1-x), x/(1-x)^4), A109960. - Paul Barry, Jul 06 2005
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-6,4,-1).
FORMULA
MATHEMATICA
CoefficientList[Series[(1-x)^3/(1-5x+6x^2-4x^3+x^4), {x, 0, 40}], x] (* Vincenzo Librandi, Apr 05 2012 *)
LinearRecurrence[{5, -6, 4, -1}, {1, 2, 7, 26}, 30] (* Harvey P. Dale, Jan 15 2017 *)
PROG
(Magma) I:=[1, 2, 7, 26]; [n le 4 select I[n] else 5*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Apr 05 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Jun 02 2000
EXTENSIONS
More terms from James A. Sellers, Jun 05 2000
STATUS
approved