(MAGMAMagma) [5*(n^2-n)^2 +15*(n^2-n) +11: n in [1..40]]; // Vincenzo Librandi, Oct 04 2011
(MAGMAMagma) [5*(n^2-n)^2 +15*(n^2-n) +11: n in [1..40]]; // Vincenzo Librandi, Oct 04 2011
editing
approved
(PARI) a(n) = 5*n^4 - 10*n^3 + 20*n^2 - 15*n + 11 \\ Charles R Greathouse IV, Aug 22 2015
proposed
editing
editing
proposed
(PARI) first(m)=vector(m, i, 5*i^4 - 10*i^3 + 20*i^2 - 15*i + 11) \\ Anders Hellström, Aug 22 2015
proposed
editing
editing
proposed
(PARI) first(m)=vector(m, i, 5*i^4 - 10*i^3 + 20*i^2 - 15*i + 11) \\ Anders Hellström, Aug 22 2015
proposed
editing
editing
proposed
a(n) = 5*n^4 - 10*n^3 + 20*n^2 - 15*n + 11.
G.f.: x*(11+6*x+86*x^2+6*x^3+11*x^4)/(1-x)^5. - Wesley Ivan Hurt, Aug 22 2015
A115565:=n->5*n^4 - 10*n^3 + 20*n^2 - 15*n + 11: seq(A115565(n), n=1..40); # Wesley Ivan Hurt, Aug 22 2015
CoefficientList[Series[(11 + 6 x + 86 x^2 + 6 x^3 + 11 x^4)/(1 - x)^5, {x, 0, 40}], x] (* Wesley Ivan Hurt, Aug 22 2015 *)
nonn,easy
approved
editing
editing
approved