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.

A053787 Nextprime(n^5) - n^5.

Original entry on oeis.org

1, 5, 8, 7, 12, 13, 4, 3, 2, 3, 2, 7, 6, 17, 2, 7, 20, 11, 22, 3, 8, 7, 8, 13, 4, 3, 2, 9, 8, 7, 12, 35, 8, 3, 18, 5, 22, 33, 2, 7, 26, 5, 30, 35, 4, 13, 20, 13, 18, 17, 2, 15, 20, 13, 12, 5, 2, 9, 74, 11, 52, 47, 8, 3, 8, 53, 22, 3, 20, 27, 26, 5, 4, 53, 28, 7, 6, 19, 22, 17, 8, 31, 6, 17
Offset: 1

Views

Author

Enoch Haga, Mar 26 2000

Keywords

Examples

			a(3)=8 because n^5=243 and next prime is 251; 251-243=8.
		

Crossrefs

Programs

  • PARI
    a(n) = nextprime(n^5) - n^5; \\ Michel Marcus, Jun 06 2014

Formula

a(n) = A007920(n^5). - Michel Marcus, Jun 06 2014