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!)
A228171 Least prime such that between it and the next prime there are exactly n semiprimes. 2
2, 3, 7, 31, 89, 139, 113, 211, 1381, 1637, 1129, 2557, 2971, 1327, 15683, 16141, 9973, 35677, 34061, 43331, 19609, 107377, 162143, 44293, 404597, 461717, 838249, 155921, 535399, 492113, 396733, 2181737, 370261, 1468277, 6034247, 3933599, 1671781, 25180171 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
a(62) = 1294268491, a(64) = 2300942549.
LINKS
FORMULA
a(n) is the prime precessing A228170(n-1).
EXAMPLE
a(2) = 7 since between 7 and the next prime, 11, there are 2 semiprimes (9, 10).
MATHEMATICA
t = Table[0, {100}]; p=3; While[p < 3100000000, q = NextPrime[p]; a = Count[ PrimeOmega[ Range[p, q]], 2]; If[ t[[a]] == 0, t[[a]] = p; Print[{p, a}]]; p = q]; t
CROSSREFS
Sequence in context: A156313 A163075 A265113 * A089359 A239892 A267487
KEYWORD
nonn
AUTHOR
STATUS
approved

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 July 20 09:18 EDT 2024. Contains 374445 sequences. (Running on oeis4.)