CoChat

Riemann's hypothesis and tests for primality

Open access
Miller, Gary L. · 1976 · Journal of Computer and System Sciences

The DOI matches its Crossref record; 18 of the 19 references it cites were found in a registry or an index, and 1 are not checked yet; 1 of the 14 sources its claims cite were checked for support.

Verified 2026-11-22 · 1 reference not checked yet

Overview

CoChat Summary

TL;DR

Miller presents two primality-testing algorithms: one deterministic in O(n^{1/7}) steps, and one assuming the Extended Riemann Hypothesis in O(log^4 n) steps (stated in Theorem 2 as O(|n|^4 log log |n|)). The paper also proves, on ERH, that Euler’s phi function and related arithmetic functions are polynomial-time equivalent to integer factorization.

Key findings

  • The deterministic primality test runs in O(n^{1/7}) steps; under ERH, the improved test runs in O(log^4 n) steps, or O(|n|^4 log log |n|) steps in Theorem 2, where |n| is the binary length of n.
  • On ERH, the functions φ, λ, λ′, and “prime factorization” are all polynomial-time equivalent (Theorem 3); more generally, any g with λ(n) | g(n) and |g(n)| = O(|n|^k) has “prime factorization” ≤ g (Lemma 5).
  • On ERH, “period” is polynomial-time Turing equivalent to “prime factorization” (Theorem 4), and the graphs of φ, λ, λ′, and “prime factorization” are recognizable in polynomial time (Theorem 5).
  • The projections of “period,” φ, λ, λ′, and “prime factorization” are in NP ∩ co-NP, and if any of these projections is in P then all the functions are in P* (Theorem 6); the paper also notes {composites} ∈ P on ERH and cites Pratt’s result that {primes} ∈ NP.

Methods

  • Theoretical complexity and number-theory paper: defines a deterministic Turing-machine algorithm A_f that checks perfect powers, tests Fermat congruence, computes GCDs, and uses qth nonresidues and Jacobi symbols.
  • Correctness and running time are proved via lemmas; the unconditional Theorem 1 uses Burgess bounds, while the ERH results use Ankeny’s bounds N(p,q) = O(|p|^2) and N(pq) = O(|pq|^3).
  • No empirical data or sample is used; the analysis is asymptotic and reduction-based.

Limitations

  • Stated: the second algorithm and the polynomial-time equivalences/recognizability results assume the Extended Riemann Hypothesis, which is unproven.
  • Stated/evident: the first algorithm’s O(n^{1/7}) bound is not polynomial in the binary input length; the polynomial-time claim depends on ERH.
  • Evident: no empirical validation or benchmarks are provided; results rely on external number-theoretic bounds and asymptotic notation.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1016/s0022-0000(76)80043-8

Cites

18 of 19 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Verification

Claims the paper makes

1 Valid · 5 Not valid · 11 Not checked · 24 Own results and interpretations

23 more claims

Create a free account to see all 41 claims and to verify the 8 references still open.

See all claims — free account
  • It may state two separate claims as one. 7
  • The quote only partly states this claim. 3
  • Probably not a substantial claim. 5

Create a free account to see these claims.

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

1 of 1

Citations

Cites

Research works printed but not linked: 3

  1. G. HARDY AND E. WRIGHT, "An Introduction to the Theory of Numbers," p. 111, Oxford Press, New York/London, 1968.
  2. D. KNUTH, "The Art of Computer Programming, Vol. 2: Seminumerical Algorithms," Addison-Wesley, Reading, Mass., 1969.
  3. A. SELRERO, Contributions to the theory of Dirichlet L functions, Avh. Nor. Vidensk., Akad. Oslo (1934).

Cited by

See all 861

Metadata

Authors
Miller, G. L.
Affiliations
University of Waterloo (CA)
Corresponding author
Miller, Gary L.
Venue
Journal of Computer and System Sciences
Publisher
Elsevier BV
Published
1976-12
Volume
13
Issue
3
Pages
300-317
ISSN
0022-0000 (ISSN-L)
OpenAlex
W2012857639
Cited by
856
References
18
Citations by year
2026: 28 · 2025: 31 · 2024: 21 · 2023: 22 · 2022: 28 · 2021: 20 · 2020: 27 · 2019: 14 · 2018: 14 · 2017: 10 · 2016: 27 · 2015: 19 · 2014: 37 · 2013: 21 · 2012: 25
FWCI
8.38
Type
journal article
Language
en
Open access
Licence
Locations
Journal of Computer and System Sciences (publishedVersion)
Funders
National Science Foundation
Topics
  • Physical Sciences › Mathematics › Algebra and Number Theory › Analytic Number Theory Research
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Complexity and Algorithms in Graphs
  • Physical Sciences › Computer Science › Information Systems › Cryptography and Residue Arithmetic
Keywords
primality testing, Riemann hypothesis, extended Riemann hypothesis, integer factorization, Euler totient function, computational complexity

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-21, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-21 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (qwen3.8-omni-flash).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.