OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (20, -124, 392, -742, 896, -700, 344, -97, 12).
FORMULA
From Chai Wah Wu, Jan 26 2020: (Start)
a(n) = 20*a(n-1) - 124*a(n-2) + 392*a(n-3) - 742*a(n-4) + 896*a(n-5) - 700*a(n-6) + 344*a(n-7) - 97*a(n-8) + 12*a(n-9) for n > 8.
G.f.: (-13*x^8 - 1431*x^7 - 14200*x^6 - 27745*x^5 - 11946*x^4 - 193*x^3 + 80*x^2 + 9*x - 1)/((x - 1)^8*(12*x - 1)). (End)
MATHEMATICA
Array[12^# - #^7 &, 17, 0] (* Michael De Vlieger, Jan 26 2020 *)
LinearRecurrence[{20, -124, 392, -742, 896, -700, 344, -97, 12}, {1, 11, 16, -459, 4352, 170707, 2706048, 35008265, 427884544}, 20] (* Harvey P. Dale, May 09 2022 *)
PROG
(Magma) [12^n-n^7: n in [0..20]]; // Vincenzo Librandi, Jul 02 2011
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved