|
| |
|
|
A104380
|
|
Smallest prime p(i) such that between 2p(i) and 2p(i+1) there exist n primes.
|
|
1
| |
|
|
59, 2, 5, 31, 89, 509, 113, 1129, 1951, 7253, 19609, 16141, 13339, 28229, 1327, 281431, 396733, 1122287, 461717, 370261, 2010733, 492113, 3279841, 14246971, 3117299, 5826001, 20831323
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
EXAMPLE
| a(0)=59 because between 2*59=118 and 2*61=122 there are no primes and 59 is the least prime with this characteristic.
a(4)=89 because between 2*89=178 and 2*97=194 there are 4 primes, namely 179, 181, 191 and 193.
|
|
|
MATHEMATICA
| f[n_] := PrimePi[2Prime[n + 1]] - PrimePi[2Prime[n]]; t = Table[0, {30}]; Do[a = f[n]; If[t[[a + 1]] == 0, t[[a + 1]] = Prime[n]], {n, 2500000}]; t
|
|
|
CROSSREFS
| Cf. A102820, A060756.
Sequence in context: A201988 A116103 A116115 * A051321 A088665 A198378
Adjacent sequences: A104377 A104378 A104379 * A104381 A104382 A104383
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Ali A. Tanara (tanara(AT)khayam.ut.ac.ir) and Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 03 2005
|
| |
|
|