OFFSET
1,3
COMMENTS
Numbers ending with 4 are not in the sequence, since 39^n+2 is divisible by 11 for such numbers. - Bruno Berselli and M. F. Hasler, Oct 02 2014
a(18) > 2*10^5. - Robert Price, Apr 14 2015
LINKS
Henri & Renaud Lifchitz, PRP Top Records, Search for 39^n + 2.
MATHEMATICA
Select[Range[0, 2000], PrimeQ[39^# + 2] &]
PROG
(Magma) [n: n in [0..500]| IsPrime(39^n+2)];
(PARI) for(n=0, 9e9, ispseudoprime(39^n+2)&&print1(n", ")) \\ M. F. Hasler, Oct 02 2014
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Sep 28 2014
EXTENSIONS
a(14)-a(17) from Robert Price, Apr 14 2015
STATUS
approved