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,-182,580,-600).
FORMULA
a(n) = -2^n/12+25*5^n/3-27*6^n/2+25*10^n/4. - R. J. Mathar, Jun 20 2013
a(n) = (5^(n+1)-2^(n+1))/3+16*a(n-1)-60*a(n-2). - Vincenzo Librandi, Jul 07 2026
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-5x)(1-6x)(1-10x)), {x, 0, 20}], x] (* Harvey P. Dale, Apr 01 2011 *)
(* Alternative: *)
a[0]=1; a[1]=23; Do[a[n]=(5^(n+1)-2^(n+1))/3+16*a[n-1]-60*a[n-2], {n, 2, 22}]; Table[a[n], {n, 0, 20}] (* Vincenzo Librandi, Jul 07 2026 *)
PROG
(Magma) I:=[1, 23]; [n le 2 select I[n] else (5^n-2^n)/3+16*Self(n-1)-60*Self(n-2): n in [1..21]]; // Vincenzo Librandi, Jul 07 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jul 07 2026
STATUS
approved
