login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A093622
Largest prime of the form n!/k!-1.
1
5, 23, 59, 719, 5039, 6719, 181439, 5039, 6652799, 479001599, 154439, 87178291199, 54486431999, 3487131647999, 59281238015999, 1067062284287999, 1013709170073599, 405483668029439999, 39070079, 180503769599
OFFSET
3,1
EXAMPLE
a(5) =59 because 5!/1!-1=119=7*17 is composite, whereas 5!/2!-1=59 is prime.
PROG
ECM, see link.
CROSSREFS
Cf. A093623 smallest k>0 such that n!/k!-1 is prime, A055490 primes of form n!-1, A093437 largest prime of the form n!/k!+1.
Sequence in context: A246607 A116581 A337750 * A089137 A361917 A362338
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Apr 06 2004
STATUS
approved