login
A089622
a(n) = n^n + n-th prime.
1
3, 7, 32, 263, 3136, 46669, 823560, 16777235, 387420512, 10000000029, 285311670642, 8916100448293, 302875106592294, 11112006825558059, 437893890380859422, 18446744073709551669, 827240261886336764236, 39346408075296537575485, 1978419655660313589124046
OFFSET
1,1
COMMENTS
Sum of reciprocals = 0.51158433914035778198539668456352160045247631333773...
FORMULA
a(n) = A000312(n) + A000040(n). - Amiram Eldar, Jun 26 2024
MATHEMATICA
Table[n^n + Prime[n], {n, 1, 25}] (* Amiram Eldar, Jun 26 2024 *)
PROG
(PARI) primeppwr2(n) = { my(y, sr=0); for(x=1, n, y=x^x+prime(x); print1(y", "); sr+=1./y; ); print(); print(sr) }
CROSSREFS
Sequence in context: A096239 A074699 A115088 * A241147 A143967 A007646
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 31 2003
EXTENSIONS
a(18)-a(19) from Amiram Eldar, Jun 26 2024
STATUS
approved