|
|
A256484
|
|
Primes p for which there are at least as many primes in the range [p*nextprime(p), nextprime(p)^2] as in the range [p^2, p*nextprime(p)], where nextprime(p) gives the next prime after prime p.
|
|
4
|
|
|
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 173, 199, 211, 233, 239, 241, 251, 263, 269, 281, 293, 311, 317, 331, 337, 349, 353, 359, 379, 383, 397, 401, 409, 421, 431, 433, 439, 449, 461, 463, 467, 487, 491, 499, 509
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For p=3, we have in the range [3*3, 3*5] two primes, {11, 13}, and in the latter range [3*5, 5*5] we have three primes {17, 19, 23}, thus 3 is included in the sequence.
|
|
MATHEMATICA
|
Select[Prime@ Range@ 100, Count[Range[# NextPrime[#], NextPrime[#]^2], _?PrimeQ] >= Count[Range[#^2, # NextPrime[#]], _?PrimeQ] &] (* Michael De Vlieger, Mar 30 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|