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!)
A338578 Primes p such that (r-p)*(r-q) > r, where q and r are the next two primes. 2

%I #6 Nov 03 2020 16:11:22

%S 2,3,5,11,17,19,29,43,47,83,109,199,283

%N Primes p such that (r-p)*(r-q) > r, where q and r are the next two primes.

%C a(14) > 10^8 if it exists.

%e a(5)=17 is a member because it is prime, the next two primes are 19 and 23, and (23-17)*(23-19)=24 > 23.

%p p:= 0: q:=2:r:= 3: R:= NULL:

%p while p < 10^4 do

%p p:= q: q:= r: r:= nextprime(r);

%p if (r-q)*(r-p) > r then R:= R, p; fi

%p od:

%p R;

%Y Contains A338566.

%Y Cf. A013632, A105161, A338577.

%K nonn,more

%O 1,1

%A _Robert Israel_, Nov 03 2020

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 September 16 19:55 EDT 2024. Contains 375977 sequences. (Running on oeis4.)