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