A290899 p-INVERT of the positive integers, where p(S) = 1 - S^2 - S^4.
0, 1, 4, 12, 36, 110, 332, 983, 2876, 8380, 24428, 71357, 208868, 612178, 1795228, 5264684, 15436060, 45248195, 132616392, 388652536, 1138993032, 3338020181, 9782903524, 28671786116, 84032220964, 246284956558, 721820483900, 2115530739035, 6200240318564
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (8, -27, 52, -63, 52, -27, 8, -1)
Programs
-
Mathematica
z = 60; s = x/(1 - x)^2; p = 1 - s^2 - s^4; Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000027 *) Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290899 *)
-
PARI
concat(0, Vec(x*(1 - 4*x + 7*x^2 - 4*x^3 + x^4) / (1 - 8*x + 27*x^2 - 52*x^3 + 63*x^4 - 52*x^5 + 27*x^6 - 8*x^7 + x^8) + O(x^40))) \\ Colin Barker, Aug 18 2017
Formula
a(n) = 8*a(n-1) - 27*a(n-2) + 52*a(n-3) - 63*a(n-4) + 52*a(n-5) - 27*a(n-6) + 8*a(n-7) - a(n-8).
G.f.: x*(1 - 4*x + 7*x^2 - 4*x^3 + x^4) / (1 - 8*x + 27*x^2 - 52*x^3 + 63*x^4 - 52*x^5 + 27*x^6 - 8*x^7 + x^8). - Colin Barker, Aug 18 2017
Comments