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

%I #13 Jul 26 2016 02:47:37

%S 6,7,4,7,13,19,19,43,29,23,43,17,67,43,71,89,239,47,197,151,43,139,

%T 197,191,239,191,173,197,47,97,223,373,71,439,307,263,157,241,199,233,

%U 337,131,179,149,113,277,269,409,197,193,379,271,181,419,367,701,751

%N a(n) = n! - p, where p is the third greatest prime less than n!.

%C Is every term except 4 and 6 a prime?

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

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

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

%Y Cf. A275272, A000040.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jul 23 2016

%E Name corrected by _Pavel Irzhavski_, Jul 25 2016

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 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)