login
A239414
Numbers n such that n^6-6 is prime.
8
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,1
COMMENTS
Note that all the numbers in this sequence are odd.
LINKS
EXAMPLE
5^6-6 = 15619 is prime. Thus, 5 is a member of this sequence.
MATHEMATICA
Select[Range[3, 1501, 2], PrimeQ[#^6-6]&] (* Harvey P. Dale, Jul 24 2016 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n**6-6)}
(PARI) is(n)=isprime(n^6-6) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Mar 17 2014
STATUS
approved