OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (19,-124,324,-288).
FORMULA
a(n) = (2*8^(n+3)-5*6^(n+3)+8*3^(n+3)-5*2^(n+3))/120. - Yahia Kahloune, May 24 2013
a(n) = 3^(n+1)-2^(n+1)+14*a(n-1)-48*a(n-2). - Vincenzo Librandi, Apr 27 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-3x)(1-6x)(1-8x)), {x, 0, 20}], x] (* Harvey P. Dale, Apr 05 2019 *)
(* Alternative: *)
a[0]=1; a[1]=19; a[n_]:=a[n]=3^(n+1)-2^(n+1)+14a[n-1]-48 a[n-2]; Table[a[n], {n, 0, 25}] (* Vincenzo Librandi, Apr 27 2026 *)
PROG
(Magma) I:=[1, 19]; [n le 2 select I[n] else 3^n - 2^n + 14*Self(n-1)-48*Self(n-2): n in [1..25]]; // Vincenzo Librandi, Apr 27 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Apr 27 2026
STATUS
approved
