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!)
A275276 a(n) = n! - p, where p is the third greatest prime less than n!. 1
6, 7, 4, 7, 13, 19, 19, 43, 29, 23, 43, 17, 67, 43, 71, 89, 239, 47, 197, 151, 43, 139, 197, 191, 239, 191, 173, 197, 47, 97, 223, 373, 71, 439, 307, 263, 157, 241, 199, 233, 337, 131, 179, 149, 113, 277, 269, 409, 197, 193, 379, 271, 181, 419, 367, 701, 751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is every term except 4 and 6 a prime?
LINKS
EXAMPLE
For n = 4, we have n! = 24, so that p = 17, and a(4) = 7.
MATHEMATICA
Table[n! - NextPrime[n!, -3], {n, 1, 150}]
CROSSREFS
Sequence in context: A254374 A019616 A274209 * A073177 A230848 A364356
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 23 2016
EXTENSIONS
Name corrected by Pavel Irzhavski, Jul 25 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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)