OFFSET
1,1
EXAMPLE
619 = 5^4 - 6; 1500619 = 35^4 - 6.
MAPLE
# choose N large, then S is the desired set
f:=n->n^4 - 6:
S:={}:
for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od:
MATHEMATICA
Select[Range[3, 3001, 2]^4-6, PrimeQ] (* Harvey P. Dale, Mar 03 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Patrick Devlin, Apr 25 2012
STATUS
approved