OFFSET
1,1
COMMENTS
k^6-2 is also prime for k = 1685775, 4095531, 4653649, 5606349, 13219339, 13326069, 18439561, ...
Sequence is infinite under Schinzel's Hypothesis H. a(n) >> n log^5 n. - Charles R Greathouse IV, Sep 20 2012
FORMULA
MATHEMATICA
Select[Range[20000000], And@@PrimeQ/@(Table[n^i-2, {i, 1, 5}]/.n->#)&]
Select[Prime[Range[680000]]+2, AllTrue[#^Range[2, 5]-2, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 11 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Sep 20 2012
STATUS
approved