OFFSET
1,2
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (6, -15, 20, -15, 6, -1).
FORMULA
G.f.: x*(1 - 4*x + 126*x^2 - 4*x^3 + x^4)/(1 - x)^6. - Vincenzo Librandi, Jan 11 2015
MATHEMATICA
Table[n^5-5n^3+5n, {n, 30}] (* or *) LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 2, 123, 724, 2525, 6726}, 30] (* Harvey P. Dale, Jan 10 2015 *)
CoefficientList[Series[(1 - 4 x + 126 x^2 - 4 x^3 + x^4) / (1 - x)^6, {x, 0, 40}], x] (* Vincenzo Librandi, Jan 11 2015 *)
PROG
(PARI) for(n=1, 10^10, if(!polisirreducible(x^10-n*x^5+1), print1(n, ", ")));
(Magma) [n^5 - 5*n^3 + 5*n: n in [1..40]]; // Vincenzo Librandi, Jan 11 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Oct 24 2013
EXTENSIONS
More terms from Vincenzo Librandi, Jan 11 2015
STATUS
approved