English

Algorithms for the Multiplication Table Problem

Number Theory 2021-10-20 v2

Abstract

Let M(n)M(n) denote the number of distinct entries in the n×nn \times n multiplication table. The function M(n)M(n) has been studied by Erd\H{o}s, Tenenbaum, Ford, and others, but the asymptotic behaviour of M(n)M(n) as nn \to \infty is not known precisely. Thus, there is some interest in algorithms for computing M(n)M(n) either exactly or approximately. We compare several algorithms for computing M(n)M(n) exactly, and give a new algorithm that has a subquadratic running time. We also present two Monte Carlo algorithms for approximate computation of M(n)M(n). We give the results of exact computations for values of nn up to 2302^{30}, and of Monte Carlo computations for nn up to 2100,000,0002^{100,000,000}, and compare our experimental results with Ford's order-of-magnitude result.

Keywords

Cite

@article{arxiv.1908.04251,
  title  = {Algorithms for the Multiplication Table Problem},
  author = {Richard Brent and Carl Pomerance and David Purdum and Jonathan Webster},
  journal= {arXiv preprint arXiv:1908.04251},
  year   = {2021}
}

Comments

15 pages, 3 tables, small improvements and references added in v2