OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (24,-193,606,-616).
FORMULA
a(n) = -4*2^n/45+32*4^n/21-343*7^n/60+1331*11^n/252. - R. J. Mathar, Jun 20 2013
From Wesley Ivan Hurt, Jun 26 2022: (Start)
G.f.: 1/((1-2*x)*(1-4*x)*(1-7*x)*(1-11*x)).
a(n) = 24*a(n-1)-193*a(n-2)+606*a(n-3)-616*a(n-4). (End)
a(n) = (4^(n+1)-2^(n+1))/2+18*a(n-1)-77*a(n-2). - Vincenzo Librandi, Jun 24 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-4x)(1-7x)(1-11x)), {x, 0, 20}], x] (* Harvey P. Dale, Apr 05 2021 *)
PROG
(Magma) I:=[1, 24]; [n le 2 select I[n] else (4^n-2^n)/2+18*Self(n-1)-77*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Jun 24 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jun 24 2026
STATUS
approved
