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”).

A275273
p - n!, where p is the third smallest prime > n!.
2
4, 5, 7, 13, 17, 19, 37, 37, 31, 41, 19, 59, 109, 71, 179, 73, 59, 73, 113, 53, 47, 127, 149, 263, 107, 241, 59, 103, 317, 241, 317, 113, 197, 127, 109, 647, 397, 67, 281, 67, 211, 163, 109, 107, 439, 521, 709, 101, 383, 337, 397, 223, 337, 601, 281, 311
OFFSET
1,1
COMMENTS
Is every term except 4 a prime?
LINKS
EXAMPLE
For n = 4, we have n! = 24, so that p = 37, and a(4) = 13.
MATHEMATICA
Table[NextPrime[n!, 3] - n!, {n, 1, 150}]
NextPrime[#, 3]-#&/@(Range[60]!) (* Harvey P. Dale, Sep 29 2024 *)
CROSSREFS
Sequence in context: A064237 A139373 A293757 * A069575 A250182 A358701
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 23 2016
STATUS
approved