A154834 Primes p such that p^5 - 2 is also prime.
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
Keywords
Examples
3^5 - 2 = 241 is prime, 13^5 - 2 = 371291 is prime, ...
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
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 *)
Comments