The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A124621 Numbers k such that 5^k + 4 is prime. 7
0, 2, 6, 10, 102, 494, 794, 1326, 5242, 5446, 24602, 87606, 188558 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(13) > 10^5. - Robert Price, Feb 03 2014
a(14) > 2*10^5. - Tyler NeSmith, May 04 2021
LINKS
F. Firoozbakht, M. F. Hasler, Variations on Euclid's formula for Perfect Numbers, JIS 13 (2010) #10.3.1
EXAMPLE
5^2 + 4 = 29 is prime, so 2 is a term.
MATHEMATICA
Select[Range[0, 2000], PrimeQ[5^# + 4] &] (* Vincenzo Librandi, Oct 01 2012 *)
PROG
(PARI) is(n)=ispseudoprime(5^n+4) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Cf. A059613.
Sequence in context: A048782 A358739 A083458 * A325237 A358071 A065799
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 21 2006
EXTENSIONS
Added the first term 0 by Vincenzo Librandi, Oct 01 2012
a(9) - a(10) from Bruno Berselli, Aug 12 2013
a(11)-a(12) from Robert Price, Feb 03 2014
a(13) from Tyler NeSmith, May 04 2021
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 20 08:05 EDT 2024. Contains 372703 sequences. (Running on oeis4.)