login
This site is supported by donations 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

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

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

Cf. A275272, A000040.

Sequence in context: A021692 A222627 A107793 * A196402 A268741 A263031

Adjacent sequences:  A275272 A275273 A275274 * A275276 A275277 A275278

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 08:40 EDT 2018. Contains 316259 sequences. (Running on oeis4.)