cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A089622 a(n) = n^n + n-th prime.

Original entry on oeis.org

3, 7, 32, 263, 3136, 46669, 823560, 16777235, 387420512, 10000000029, 285311670642, 8916100448293, 302875106592294, 11112006825558059, 437893890380859422, 18446744073709551669, 827240261886336764236, 39346408075296537575485, 1978419655660313589124046
Offset: 1

Views

Author

Cino Hilliard, Dec 31 2003

Keywords

Comments

Sum of reciprocals = 0.51158433914035778198539668456352160045247631333773...

Crossrefs

Programs

  • Mathematica
    Table[n^n + Prime[n], {n, 1, 25}] (* Amiram Eldar, Jun 26 2024 *)
  • PARI
    primeppwr2(n) = { my(y, sr=0); for(x=1,n, y=x^x+prime(x); print1(y", "); sr+=1./y; ); print(); print(sr) }

Formula

a(n) = A000312(n) + A000040(n). - Amiram Eldar, Jun 26 2024

Extensions

a(18)-a(19) from Amiram Eldar, Jun 26 2024