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!)
A275274 p - n!, where p is the fourth smallest prime > n!. 2

%I

%S 6,9,11,17,19,23,41,41,47,47,29,83,139,79,223,149,83,101,137,79,59,

%T 131,271,283,131,263,137,197,373,313,379,137,307,151,257,761,457,151,

%U 443,89,229,167,181,191,467,1109,739,103,401,353,487,827,449,617,307

%N p - n!, where p is the fourth smallest prime > n!.

%C Is every term except the first two a prime?

%H Clark Kimberling, <a href="/A275274/b275274.txt">Table of n, a(n) for n = 1..300</a>

%e For n = 4, we have n! = 24, so that p = 41, and a(4) = 17.

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

%Y Cf. A275272, A000040.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jul 23 2016

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 23 10:58 EST 2022. Contains 350510 sequences. (Running on oeis4.)