English

Computation of the Totient Summatory Function

Number Theory 2025-06-10 v1

Abstract

An algorithm is devised for computing Φ(n)=ϕ(1)+ϕ(2)++ϕ(n)\Phi(n) = \phi(1) + \phi(2) + \cdots + \phi(n) in time Θ~(n2/3)\widetilde{\Theta}(n^{2/3}) and space Θ~(n1/3)\widetilde{\Theta}(n^{1/3}). The starting point is an existing algorithm based on the Dirichlet hyperbola method and the Mertens function. The algorithm is then used to compute Φ(1019)=30396355092701331435065976498046398788\Phi(10^{19}) = 30396355092701331435065976498046398788.

Keywords

Cite

@article{arxiv.2506.07386,
  title  = {Computation of the Totient Summatory Function},
  author = {Lucas Augustus Brown},
  journal= {arXiv preprint arXiv:2506.07386},
  year   = {2025}
}

Comments

29 pages, 0 figures

R2 v1 2026-07-01T03:06:18.932Z