login
a(n) = 7^n-6^n-5^n-4^n-3^n-2^n-1.
3

%I #17 Apr 11 2024 04:04:12

%S -5,-14,-42,-98,126,4606,50478,446782,3622206,28040446,211134798,

%T 1561328062,11403051486,82538901886,593482158318,4245770823742,

%U 30254894691966,214923605948926,1522969836817038,10770185918341822

%N a(n) = 7^n-6^n-5^n-4^n-3^n-2^n-1.

%H <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (28,-322,1960,-6769,13132,-13068,5040).

%F 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

%t lst={};Do[p=7^n-6^n-5^n-4^n-3^n-2^n-1^n;AppendTo[lst,p],{n,0,5!}];lst

%Y Cf. A147975, A147976, A147977, A147979.

%K sign,easy

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Nov 18 2008