A239414 Numbers k such that k^6 - 6 is prime.
5, 7, 17, 37, 113, 137, 157, 173, 175, 203, 223, 227, 295, 337, 395, 407, 475, 487, 503, 535, 605, 617, 707, 743, 797, 833, 857, 863, 865, 877, 905, 943, 947, 965, 973, 995, 1037, 1043, 1057, 1103, 1217, 1243, 1247, 1277, 1295, 1337, 1357, 1363, 1375, 1403
Offset: 1
Keywords
Examples
5^6 - 6 = 15619 is prime. Thus, 5 is a member of this sequence.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Range[3,1501,2],PrimeQ[#^6-6]&] (* Harvey P. Dale, Jul 24 2016 *)
-
PARI
is(n)=isprime(n^6-6) \\ Charles R Greathouse IV, Feb 17 2017
-
Python
import sympy from sympy import isprime {print(n) for n in range(10**4) if isprime(n**6-6)}
Comments