login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275274 p - n!, where p is the fourth smallest prime > n!. 2
6, 9, 11, 17, 19, 23, 41, 41, 47, 47, 29, 83, 139, 79, 223, 149, 83, 101, 137, 79, 59, 131, 271, 283, 131, 263, 137, 197, 373, 313, 379, 137, 307, 151, 257, 761, 457, 151, 443, 89, 229, 167, 181, 191, 467, 1109, 739, 103, 401, 353, 487, 827, 449, 617, 307 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Is every term except the first two 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 = 41, and a(4) = 17.

MATHEMATICA

Table[NextPrime[n!, 4] - n!, {n, 1, 150}]

CROSSREFS

Cf. A275272, A000040.

Sequence in context: A302580 A031256 A032730 * A131834 A084418 A226133

Adjacent sequences:  A275271 A275272 A275273 * A275275 A275276 A275277

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 18:32 EST 2021. Contains 349557 sequences. (Running on oeis4.)