login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113481 Numbers n such that 59^n + 2 is prime. 7
0, 1, 27, 45, 75 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
a(6) > 2*10^5. - Robert Price, Mar 21 2015
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 07:40 EDT 2024. Contains 372358 sequences. (Running on oeis4.)