RiemannR
✖
RiemannR
Details

- Mathematical function, suitable for both symbolic and numerical manipulation.
- For
, the Riemann prime counting function is given by
.
- RiemannR[z] has a branch cut discontinuity in the complex z plane running from
to
.
- RiemannR can be evaluated to arbitrary numerical precision.
- RiemannR automatically threads over lists.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases

https://wolfram.com/xid/0j45ozy5-b74byy


https://wolfram.com/xid/0j45ozy5-haizjn

Compare the behavior of RiemannR with the prime counting function :

https://wolfram.com/xid/0j45ozy5-hg6toh

Scope (6)Survey of the scope of standard use cases
Evaluate for complex arguments:

https://wolfram.com/xid/0j45ozy5-bk50jw


https://wolfram.com/xid/0j45ozy5-bpc23o

The precision of the output tracks the precision of the input:

https://wolfram.com/xid/0j45ozy5-zob0n

Simple exact values are generated automatically:

https://wolfram.com/xid/0j45ozy5-exgtl

RiemannR threads element-wise over lists:

https://wolfram.com/xid/0j45ozy5-i7bdrl

TraditionalForm formatting:

https://wolfram.com/xid/0j45ozy5-ggmxww

Applications (1)Sample problems that can be solved with this function
The behavior of RiemannR near the origin:

https://wolfram.com/xid/0j45ozy5-hk2tof

The largest root of the Riemann prime counting function, which solves a problem originally posed by Waldvogel:

https://wolfram.com/xid/0j45ozy5-cjrofb


https://wolfram.com/xid/0j45ozy5-galrx0


https://wolfram.com/xid/0j45ozy5-lmkhsv


https://wolfram.com/xid/0j45ozy5-bi6gr

Wolfram Research (2008), RiemannR, Wolfram Language function, https://reference.wolfram.com/language/ref/RiemannR.html.
Text
Wolfram Research (2008), RiemannR, Wolfram Language function, https://reference.wolfram.com/language/ref/RiemannR.html.
Wolfram Research (2008), RiemannR, Wolfram Language function, https://reference.wolfram.com/language/ref/RiemannR.html.
CMS
Wolfram Language. 2008. "RiemannR." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RiemannR.html.
Wolfram Language. 2008. "RiemannR." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RiemannR.html.
APA
Wolfram Language. (2008). RiemannR. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RiemannR.html
Wolfram Language. (2008). RiemannR. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RiemannR.html
BibTeX
@misc{reference.wolfram_2025_riemannr, author="Wolfram Research", title="{RiemannR}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/RiemannR.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_riemannr, organization={Wolfram Research}, title={RiemannR}, year={2008}, url={https://reference.wolfram.com/language/ref/RiemannR.html}, note=[Accessed: 29-March-2025
]}