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

Clark Kimberling, Table of n, a(n) for n = 1..300

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

Cf. A275272, A000040.

Sequence in context: A254374 A019616 A274209 * A073177 A230848 A292101

Adjacent sequences:  A275273 A275274 A275275 * A275277 A275278 A275279

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 12:55 EST 2022. Contains 350481 sequences. (Running on oeis4.)