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.

A213535 Numbers n such that n^5 - prime(n) is prime.

Original entry on oeis.org

2, 8, 10, 14, 30, 40, 50, 190, 294, 308, 346, 370, 396, 400, 630, 634, 690, 716, 746, 790, 870, 912, 926, 968, 1010, 1104, 1122, 1130, 1198, 1204, 1308, 1392, 1394, 1482, 1532, 1560, 1600, 1640, 1706, 1714, 1740, 1742, 1770, 1784, 1810, 1816, 1848, 1880
Offset: 1

Views

Author

Jonathan Vos Post, Jun 13 2012

Keywords

Examples

			a(1) = 2 because 2^5 - prime(2) = 29  a prime.
a(2) = 8 because 8^5 - prime(8) = 32749 is prime.
a(3) = 10 because 10^5 - prime(10) = 99971 is prime.
a(8) = 190 because 190^5 - prime(190) = 247609898849  is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[2000], PrimeQ[#^5 - Prime[#]] &] (* T. D. Noe, Jun 13 2012 *)