A131465 a(n)=4n^4-3n^3+2n^2-n+1.
1, 3, 47, 259, 861, 2171, 4603, 8667, 14969, 24211, 37191, 54803, 78037, 107979, 145811, 192811, 250353, 319907, 403039, 501411, 616781, 751003, 906027, 1083899, 1286761, 1516851, 1776503, 2068147, 2394309, 2757611, 3160771
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
Programs
-
Mathematica
Table[4n^4-3n^3+2n^2-n+1,{n,0,30}] (* or *) LinearRecurrence[{5,-10,10,-5,1},{1,3,47,259,861},40] (* Harvey P. Dale, May 27 2017 *)
-
PARI
a(n)=4*n^4-3*n^3+2*n^2-n+1 \\ Charles R Greathouse IV, Oct 21 2022