OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..3084
EXAMPLE
For p=41, we have in range [41*41, 41*43] (1681 .. 1763) 11 primes: {1693, 1697, 1699, 1709, 1721, 1723, 1733, 1741, 1747, 1753, 1759}, while in the latter range [41*43, 43*43] (1763 .. 1849) we have 9 primes: {1777, 1783, 1787, 1789, 1801, 1811, 1823, 1831, 1847}, thus 41 is included in the sequence.
MATHEMATICA
Select[Prime@ Range@ 200, Count[Range[#^2, # NextPrime[#]], _?PrimeQ] > Count[Range[# NextPrime[#], NextPrime[#]^2], _?PrimeQ] &] (* Michael De Vlieger, Mar 30 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 30 2015
STATUS
approved