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!)
A226473 a(n) is the first prime index where the gap between R(n), Riemann's prime counting function, and Pi(n), the exact prime counting function, is greater than n. 1
109, 556, 1327, 3296, 5380, 10343, 11767, 19202, 19361, 19371, 24121, 42863, 58243, 59453, 59473, 152959, 155809, 155863, 155893, 175594, 175618, 230393, 298545, 298557, 298974, 298986, 299277, 300072, 300135, 302547, 355093, 355111, 463171, 909917, 910219, 993762 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
REFERENCES
H. M. Edwards, Riemann's Zeta Function, Dover Publications, New York, 1974 (ISBN 978-0-486-41740-0), page 35.
LINKS
Eric Weisstein's World of Mathematics, Riemann Prime Counting Function.
EXAMPLE
RiemannR(109) = 27.4664... and PrimePi(109) = 29 give the first gap greater than 1, hence a(1) = 109.
MATHEMATICA
Reap[For[n = 1; gap = 1, n < 10^6, n++, If[Abs[RiemannR[n] - PrimePi[n]] > gap, Print[{gap, n}]; Sow[n]; gap++]]][[2, 1]]
CROSSREFS
Cf. A057794.
Sequence in context: A142640 A126856 A142915 * A142366 A103734 A232039
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 April 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)