OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (27,-244,828,-880).
FORMULA
a(n) = -2^n/18+16*4^n/21-125*10^n/6+1331*11^n/63. - R. J. Mathar, Jun 20 2013
a(n) = (4^(n+1)-2^(n+1))/2+21*a(n-1)-110*a(n-2). - Vincenzo Librandi, Jul 03 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-4x)(1-10x)(1-11x)), {x, 0, 20}], x] (* Harvey P. Dale, Aug 11 2019 *)
(* Alternative: *)
a[0]=1; a[1]=27; Do[a[n]=(4^(n+1)-2^(n+1))/2+21*a[n-1]-110*a[n-2], {n, 2, 22}]; Table[a[n], {n, 0, 19}] (* Vincenzo Librandi, Jul 03 2026 *)
PROG
(Magma) I:=[1, 27]; [n le 2 select I[n] else (4^n-2^n)/2+21*Self(n-1)-110*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Jul 03 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jul 03 2026
STATUS
approved
