A147978 a(n) = 7^n-6^n-5^n-4^n-3^n-2^n-1.
-5, -14, -42, -98, 126, 4606, 50478, 446782, 3622206, 28040446, 211134798, 1561328062, 11403051486, 82538901886, 593482158318, 4245770823742, 30254894691966, 214923605948926, 1522969836817038, 10770185918341822
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (28,-322,1960,-6769,13132,-13068,5040).
Programs
-
Mathematica
lst={};Do[p=7^n-6^n-5^n-4^n-3^n-2^n-1^n;AppendTo[lst,p],{n,0,5!}];lst
Formula
G.f.: x*(11628*x^6-22736*x^5+17059*x^4-6370*x^3+1260*x^2-126*x+5)/((x-1)*(2*x-1)*(3*x-1)*(4*x-1)*(5*x-1)*(6*x-1)*(7*x-1)). - Colin Barker, Oct 29 2012