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!)
A186450 Primes of the form k! + 2^k - 1. 2
2, 5, 13, 151, 5167, 39918847 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(7) = 167! + 2^167 - 1 = 1503616514 ... 959365500927 has 301 digits ;
a(8) = 2609! + 2^2609 - 1 = 4110644622 ... 780469952511 has 7783 digits.
LINKS
EXAMPLE
for k=3, 13 is in the sequence because 3! + 2^3 - 1 = 13 is prime.
MATHEMATICA
lst={}; Do[ q=k!+2^k-1; If[PrimeQ[q], AppendTo[lst, q]], {k, 0, 400}]; lst
CROSSREFS
Cf. A186449.
Sequence in context: A230518 A241248 A275698 * A065797 A196273 A128772
KEYWORD
nonn
AUTHOR
Michel Lagneau, Feb 22 2011
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 June 6 19:21 EDT 2024. Contains 373134 sequences. (Running on oeis4.)