OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (26,-227,754,-792).
FORMULA
a(n) = 26*a(n-1) - 227*a(n-2) + 754*a(n-3) - 792*a(n-4), a(0)=1, a(1)=26, a(2)=449, a(3)=6526. - Harvey P. Dale, Aug 11 2012
a(n) = -4*2^n/63 + 32*4^n/35 - 729*9^n/70 + 1331*11^n/126. - R. J. Mathar, Jun 20 2013
a(n) = (4^(n+1)-2^(n+1))/2+20*a(n-1)-99*a(n-2). - Vincenzo Librandi, Jul 02 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-4x)(1-9x)(1-11x)), {x, 0, 20}], x] (* Harvey P. Dale, Aug 11 2012 *)
(* Alternative: *)
LinearRecurrence[{26, -227, 754, -792}, {1, 26, 449, 6526}, 20] (* Harvey P. Dale, Aug 11 2012 *)
PROG
(Magma) I:=[1, 26]; [n le 2 select I[n] else (4^n-2^n)/2+20*Self(n-1)-99*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Jul 02 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jul 02 2026
STATUS
approved
