A292400 p-INVERT of (1,2,2,2,2,2,2,...) (A040000), where p(S) = (1 - S)^2.
2, 7, 20, 57, 158, 431, 1160, 3089, 8154, 21367, 55644, 144137, 371638, 954335, 2441872, 6228129, 15839794, 40181095, 101690404, 256812121, 647303502, 1628647055, 4091042328, 10260849073, 25699419914, 64283165143, 160599382124, 400772669481, 999059833190
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (4, -2, -4, -1)
Programs
Formula
G.f.: -(((1 + x) (-2 + 3 x + x^2))/(-1 + 2 x + x^2)^2).
a(n) = 4*a(n-1) - 2*a(n-2) - 4*a(n-3) - a(n-4) for n >= 5.
Comments