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!)
A275275 n! - p, where p is the second greatest prime < n!. 1
4, 5, 3, 5, 11, 11, 17, 37, 17, 17, 17, 13, 61, 17, 59, 71, 61, 43, 113, 71, 41, 101, 191, 103, 191, 179, 71, 127, 37, 79, 113, 163, 47, 373, 293, 157, 149, 79, 167, 211, 151, 89, 131, 113, 73, 107, 179, 227, 173, 113, 257, 239, 151, 227, 163, 509, 293, 347 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is every term except 4 a prime?
LINKS
EXAMPLE
For n = 4, we have n! = 24, so that p = 19, and a(4) = 5.
MATHEMATICA
Table[n! - NextPrime[n!, -2], {n, 1, 150}]
CROSSREFS
Sequence in context: A021692 A222627 A107793 * A196402 A268741 A263031
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 23 2016
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 19 03:11 EDT 2024. Contains 371782 sequences. (Running on oeis4.)