%I #14 Mar 12 2018 16:12:08
%S 1,4,9,16,49,156,409,904,1761,3124,5161,8064,12049,17356,24249,33016,
%T 43969,57444,73801,93424,116721,144124,176089,213096,255649,304276,
%U 359529,421984,492241,570924,658681
%N a(n) = n^4 - 6*n^3 + 12*n^2 - 4*n + 1.
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1).
%F G.f.: ( -1+x+x^2-x^3-24*x^4 ) / (x-1)^5. - _R. J. Mathar_, Jun 09 2016
%t Table[n^4 - 6n^3 + 12n^2 - 4n + 1, {n, 0, 39}] (* _Alonso del Arte_, Dec 28 2016 *)
%t LinearRecurrence[{5,-10,10,-5,1},{1,4,9,16,49},40] (* _Harvey P. Dale_, Mar 12 2018 *)
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_