OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..825
FORMULA
a(n) = 16^n - 12*12^n + 24*10^n + 4*9^n - 12*8^n + 6*7^n - 72*6^n + 72*5^n + 36*4^n - 72*3^n + 26*2^n.
G.f.: -(1159418880*x^10 -1168935552*x^9 +583922688*x^8 -190907480*x^7 +43558356*x^6 -6961978*x^5 +771571*x^4 -58030*x^3 +2824*x^2 -80*x +1) / ((2*x -1)*(3*x -1)*(4*x -1)*(5*x -1)*(6*x -1)*(7*x -1)*(8*x -1)*(9*x -1)*(10*x -1)*(12*x -1)*(16*x -1)). - Colin Barker, Jul 11 2013
MATHEMATICA
Table[16^n - 12*12^n + 24*10^n + 4*9^n - 12*8^n + 6*7^n - 72*6^n + 72*5^n + 36*4^n - 72*3^n + 26*2^n, {n, 0, 50}] (* G. C. Greubel, Oct 06 2017 *)
PROG
(PARI) for(n=0, 50, print1(16^n - 12*12^n + 24*10^n + 4*9^n - 12*8^n + 6*7^n - 72*6^n + 72*5^n + 36*4^n - 72*3^n + 26*2^n, ", ")) \\ G. C. Greubel, Oct 06 2017
(Magma) [16^n - 12*12^n + 24*10^n + 4*9^n - 12*8^n + 6*7^n - 72*6^n + 72*5^n + 36*4^n - 72*3^n + 26*2^n: n in [0..50]]; // G. C. Greubel, Oct 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Goran Kilibarda, Vladeta Jovovic, Mar 10 2004
EXTENSIONS
More terms from Colin Barker, Jul 11 2013
STATUS
approved