OFFSET
1,1
COMMENTS
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..351
FORMULA
From Wesley Ivan Hurt, Jan 28 2021: (Start)
a(n) = Sum_{k=1..n} (n+k)^n.
a(n) = Zeta(-n,n+1) - Zeta(-n,2*n+1), where Zeta is the Hurwitz zeta function. (End)
a(n) ~ (2*n)^n / (1 - exp(-1/2)). - Vaclav Kotesovec, Dec 06 2021
EXAMPLE
a(2) = 25 = 3^2 + 4^2, a(3) = 405 = 4^3 + 5^3 + 6^3, a(4) = 8418 = 5^4 + 6^4 + 7^4 + 8^4, a(5) = 216400 = 6^4 + 7^5 + 8^5 + 9^5 + 10^5.
MATHEMATICA
Table[Sum[i^n, {i, n+1, 2n}], {n, 20}]
PROG
(PARI) a(n) = sum(k=n+1, 2*n, k^n); \\ Seiichi Manyama, Dec 05 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 22 2002
EXTENSIONS
Name changed by Wesley Ivan Hurt, Jan 28 2021
STATUS
approved