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.

A154834 Primes p such that p^5 - 2 is also prime.

Original entry on oeis.org

3, 13, 31, 139, 181, 211, 229, 271, 523, 619, 751, 853, 1063, 1483, 1699, 2791, 3361, 3463, 3541, 3769, 4051, 4201, 4801, 4861, 4903, 5521, 5689, 5701, 6163, 6211, 6763, 6823, 6949, 7621, 8059, 8269, 8389, 8419, 8563, 8689, 8713, 9001, 9103, 9319, 10303
Offset: 1

Views

Author

Keywords

Comments

Primes in A154833.

Examples

			3^5 - 2 = 241 is prime,
13^5 - 2 = 371291 is prime, ...
		

Crossrefs

Programs

  • Mathematica
    lst={};Do[p=n^5-2;If[PrimeQ[p],If[PrimeQ[n],AppendTo[lst,n]]],{n,0,7!}];lst
    Select[Prime[Range[1300]],PrimeQ[#^5-2]&] (* Harvey P. Dale, Feb 09 2019 *)