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.

A067529 n - 5^k is a prime for all k > 0 and n > 5^k.

Original entry on oeis.org

7, 8, 10, 12, 16, 18, 22, 24, 28, 36, 42, 48, 66, 72, 78, 84, 108, 114, 132, 156, 162, 198, 204, 276, 282, 288, 318, 336, 492, 504, 546, 582, 612, 624, 666, 864, 882, 1044, 1134, 1218, 1242, 1326, 1452, 1998, 2136, 2472, 2922, 3234, 3948, 4032, 4572, 4914, 6342
Offset: 1

Views

Author

Amarnath Murthy, Feb 17 2002

Keywords

Comments

Is the sequence finite?
The last term appears to be 7726572. - T. D. Noe, Nov 23 2004

Examples

			624 is a term as 624-5, 624-25,624-125 or 619,599 and 499 are primes.
		

Crossrefs

Cf. A039669 (n-2^k is prime).

Programs

  • Mathematica
    lst={}; Do[k=1; While[p=n-5^k; p>0 && PrimeQ[p], k++ ]; If[p<=0, AppendTo[lst, n]], {n, 6, 10^7}]; lst (T. D. Noe)

Extensions

More terms from Sascha Kurz, Mar 19 2002