OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (23,-176,532,-528).
FORMULA
a(0)=1, a(1)=23, a(2)=353, a(3)=4603, a(n) = 23*a(n-1)-176*a(n-2)+532*a(n-3)-528*a(n-4). - Harvey P. Dale, Jun 25 2011
a(n) = (8*11^(n+3)-63*6^(n+3)+90*4^(n+3)-35*2^(n+3))/2520. - Yahia Kahloune, May 24 2013
a(n) = (4^(n+1)-2^(n+1))/2+17*a(n-1)-66*a(n-2). - Vincenzo Librandi, Jun 18 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-4x)(1-6x)(1-11x)), {x, 0, 40}], x] (* Harvey P. Dale, Jun 25 2011 *)
(* Alternative: *)
LinearRecurrence[ {23, -176, 532, -528}, {1, 23, 353, 4603}, 40] (* Harvey P. Dale, Jun 25 2011 *)
(* Alternative: *)
a[0]=1; a[1]=23; Do[a[n]=(4^(n+1)-2^(n+1))/2+17*a[n-1]-66*a[n-2], {n, 2, 22}]; Table[a[n], {n, 0, 19}] (* Vincenzo Librandi, Jun 18 2026 *)
PROG
(Magma) I:=[1, 23]; [n le 2 select I[n] else (4^n-2^n)/2+17*Self(n-1)-66*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Jun 18 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jun 18 2026
STATUS
approved
