login
A113481
Numbers n such that 59^n + 2 is prime.
7
0, 1, 27, 45, 75
OFFSET
1,3
COMMENTS
a(6) > 2*10^5. - Robert Price, Mar 21 2015
MATHEMATICA
For[n=0, n<50, n++, If[PrimeQ[59^n+2], Print[n]]] (* Stefan Steinerberger, Feb 10 2006 *)
Select[Range[0, 1000], PrimeQ[59^# + 2] &] (* Vincenzo Librandi, Mar 22 2015 *)
PROG
(PARI) forstep(n=1, 1000, 2, y=59^n+2; if(ispseudoprime(y), print1(n", ")))
(Magma) [n: n in [0..100] | IsPrime( 59^n + 2)]; // Vincenzo Librandi, Mar 22 2015
CROSSREFS
Sequence in context: A046316 A046373 A228057 * A328897 A369979 A039325
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jan 09 2006
STATUS
approved