A099524 Expansion of 1/(1-5*x-x^3).
1, 5, 25, 126, 635, 3200, 16126, 81265, 409525, 2063751, 10400020, 52409625, 264111876, 1330959400, 6707206625, 33800145001, 170331684405, 858365628650, 4325628288251, 21798473125660, 109850731256950, 553579284573001
Offset: 0
Links
- Milan Janjic, Binomial Coefficients and Enumeration of Restricted Words, Journal of Integer Sequences, 2016, Vol 19, #16.7.3
- Index entries for linear recurrences with constant coefficients, signature (5,0,1).
Programs
-
Mathematica
CoefficientList[Series[1/(1-5x-x^3),{x,0,30}],x] (* or *) LinearRecurrence[ {5,0,1},{1,5,25},30] (* Harvey P. Dale, May 08 2012 *)
Formula
a(n) = 5*a(n-1) + a(n-3).
a(n) = Sum_(k=0..floor(n/3)) binomial(n-2*k, k)*5^(n-3*k).
Comments