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!)
A093621 Smallest k>0 such that n!/k!+1 is prime. 2
1, 1, 1, 1, 2, 2, 4, 2, 2, 4, 3, 1, 5, 2, 3, 4, 2, 3, 5, 19, 10, 3, 5, 4, 5, 7, 5, 1, 6, 21, 2, 9, 15, 15, 13, 10, 27, 1, 4, 37, 14, 1, 4, 2, 34, 5, 8, 18, 24, 2, 13, 5, 11, 35, 48, 11, 7, 48, 27, 21, 30, 5, 43, 7, 4, 46, 13, 24, 16, 60, 12, 34, 5, 1, 38, 14, 28, 1, 10, 24, 50, 5, 3, 42, 40, 28 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
The results were computed using the PrimeFormGW (PFGW) primality-testing program. - Hugo Pfoertner, Nov 14 2019
LINKS
FORMULA
a(A002981(n)) = 1.
EXAMPLE
a(39) =37 because 39!/k!+1 is composite for all k=1..36; 39!/37!+1=39*38+1=1483 is prime.
CROSSREFS
Cf. A093437 largest prime of the form n!/k!+1, A002981 n!+1 is prime, A093623 Smallest k>0 such that n!/k!-1 is prime.
Sequence in context: A367953 A212595 A087692 * A242734 A309709 A143230
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Apr 06 2004
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 August 19 08:00 EDT 2024. Contains 375284 sequences. (Running on oeis4.)