<a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (9,-36,84,-126,126,-84,36,-9,1).
<a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (9,-36,84,-126,126,-84,36,-9,1).
editing
approved
a(n) = n^8 + n^6 + n^4 + n^2 + 1.
Harry J. Smith, <a href="/A059839/b059839.txt">Table of n, a(n) for n = 0,...,1000</a>
(PARI) { for (n=0, 1000, f=n^2; write("b059839.txt", n, " ", f^4 + f^3 + f^2 + f + 1); ) } [From _\\ _Harry J. Smith_, Jun 29 2009]
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (9,-36,84,-126,126,-84,36,-9,1).
<a href="/index/Rea#recLCCRec">Index to sequences with linear recurrences with constant coefficients</a>, signature (9,-36,84,-126,126,-84,36,-9,1).
editing
approved
Table[Total[n^(2*Range[4])]+1, {n, 0, 30}] (* or *) LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {1, 5, 341, 7381, 69905, 406901, 1727605, 5884901, 17043521}, 30] (* Harvey P. Dale, Jan 02 2015 *)
approved
editing
editing
approved
G.f.: -(5*x^8 +296*x^7 +4492*x^6 +15332*x^5 +15458*x^4 +4408*x^3 +332*x^2 -4*x +1)/ (x-1)^9. [_- _Colin Barker_, Nov 05 2012]
approved
editing
proposed
approved