login
This site is supported by donations 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

Table of n, a(n) for n=1..5.

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 * A039325 A043148 A043928

Adjacent sequences:  A113478 A113479 A113480 * A113482 A113483 A113484

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 20 18:56 EDT 2019. Contains 326154 sequences. (Running on oeis4.)