login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A209263
a(n) = 1 + 2*n^2 + 3*n^3 + 4*n^4 + 5*n^5.
5
1, 15, 257, 1639, 6369, 18551, 44785, 94767, 181889, 323839, 543201, 868055, 1332577, 1977639, 2851409, 4009951, 5517825, 7448687, 9885889, 12923079, 16664801, 21227095, 26738097, 33338639, 41182849, 50438751, 61288865, 73930807, 88577889, 105459719
OFFSET
0,2
COMMENTS
This is to 5 as A209262 1 + 2*n^2 + 3*n^3 + 4*n^4 is to 4. The subsequence of primes begins: 257, 181889, 7448687, 16664801, a(60) = 3940495201.
FORMULA
G.f. ( 1+9*x+182*x^2+302*x^3+105*x^4+x^5 ) / (x-1)^6 . - R. J. Mathar, Jan 17 2013
EXAMPLE
a(2) = 1 + 2*2^2 + 3*2^3 + 4*2^4 + 5*2^5 = 257.
MATHEMATICA
With[{c=1+Total[Table[k n^k, {k, 2, 5}]]}, Table[c, {n, 0, 30}]] (* Harvey P. Dale, Aug 01 2016 *)
PROG
(Maxima) makelist(1 + 2*n^2 + 3*n^3 + 4*n^4 +5*n^5, n, 0, 20); /* Martin Ettl, Jan 15 2013*/
(PARI) a(n)=1+2*n^2+3*n^3+4*n^4+5*n^5 \\ Charles R Greathouse IV, Oct 16 2015
(Magma) [1 + 2*n^2 + 3*n^3 + 4*n^4 + 5*n^5: n in [0..30]]; // G. C. Greubel, Jan 04 2018
CROSSREFS
Cf. A209262.
Sequence in context: A334995 A099273 A206230 * A180832 A361185 A013381
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Jan 14 2013
STATUS
approved