A291225 p-INVERT of (0,1,0,1,0,1,...), where p(S) = (1 - S)^5.
5, 15, 40, 100, 236, 535, 1175, 2515, 5270, 10846, 21980, 43950, 86850, 169840, 329042, 632135, 1205205, 2281925, 4293270, 8030558, 14940700, 27659095, 50968455, 93518940, 170905555, 311159365, 564521620, 1020800470, 1840124050, 3307314163, 5927828905
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5, -5, -10, 15, 11, -15, -10, 5, 5, 1)
Programs
-
Mathematica
z = 60; s = x/(1 - x^2); p = (1 - s)^5; Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000035 *) Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A291225 *)
-
PARI
Vec((5 - 10*x - 10*x^2 + 25*x^3 + 11*x^4 - 25*x^5 - 10*x^6 + 10*x^7 + 5*x^8) / (1 - x - x^2)^5 + O(x^40)) \\ Colin Barker, Aug 28 2017
Formula
a(n) = 5*a(n-1) - 5*a(n-2) - 10*a(n-3) + 15*a(n-4) + 11*a(n-5) - 15*a(n-6) - 10*a(n-7) + 5*a(n-8) + 5*a(n-9) + a(n-10) for n >= 11.
G.f.: (5 - 10*x - 10*x^2 + 25*x^3 + 11*x^4 - 25*x^5 - 10*x^6 + 10*x^7 + 5*x^8) / (1 - x - x^2)^5. - Colin Barker, Aug 28 2017
Comments