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!)
A134056 Least positive integer k such that (n!)! + k is prime. 0
1, 1, 7, 131, 131, 2897, 21997 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The terms beyond a(3), found by PrimeForm, produce probable primes of lengths 24, 199, 1747 and 16474 digits. As both (8!)! and 2*((8!)!) each have the same number of digits, a(8) will correspond to a 168187-digit prime (by Bertrand's Postulate). For all n, if k > 1, then k >= nextprime(n!). As (8!)!+1 is composite, a(8) >= 40343.
LINKS
EXAMPLE
a(3) = 7 as (3!)! + 7 = 6! + 7 = 720 + 7 = 727 is the smallest prime larger than (3!)!.
CROSSREFS
Sequence in context: A361369 A361367 A332050 * A123036 A142011 A074224
KEYWORD
hard,more,nonn
AUTHOR
Rick L. Shepherd, Oct 04 2007
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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)