OFFSET
1,1
COMMENTS
Note that all the numbers in this sequence are odd.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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