Riemann's hypothesis and tests for primality
Open accessThe 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
Cites
Statistics
Verification
Claims the paper makes
1 Valid · 5 Not valid · 11 Not checked · 24 Own results and interpretations
The sources with a verdict support this claim; the rest weren’t checked yet, have no full text we could read, or their verdicts aren’t rated yet.
In the paper
“Thus we show primality is testable in time polynomial in the length of the binary representation of n.Using the terminology of Cook [6] and Karp [9], we say primality is testable in polynomial time on the ERH.”
§ Riemann's Hypothesis and Tests for Primality* > INTRODUCTION
What the sources say
- Supportedcites Cook [6] S. A. COOK, The complexity of theorem-proving procedures, in "Conference Record of Third ACM Symposium on Theory of Computing (1970)," pp. 151-158. source
The citation is attached explicitly to the terminology, not to the ERH-conditional result: 'Using the terminology of Cook [6] and Karp [9], we say primality is testable in polynomial time...'. Our copy of Cook 1971 is precisely the source of that terminology — it defines 'P-reducible (P for polynomial)' and 'the polynomial degree of difficulty of S' (section on transitivity of P-reducibility), states that '~ is the class of sets recognizable in polynomial time', and Theorem 1 speaks of a set 'accepted by some nondeterministic Turing machine within polynomial time' (Definitions/Theorem 1 passage). Cook also fixes the number-theoretic instance the citing authors use, defining 'The set {Primes} is the set of all binary notations for prime numbers' and remarking (Theorem 2 remark and its discussion) that {primes} could not be added to the list and that reducing {tautologies} to {primes} 'would seem to require some deep results in number theory'. The ERH hypothesis itself is the citing authors' contribution and is not attributed to Cook, so nothing claimed of this source is unsupported. (LLM, conf=0.85)
- Not checked — no full text of the sourcecites Karp [9] R. M. KARP, Reducibility among combinatorial problems, in "Complexity of Computer Computations" (R. E. Miller and J. W. Thatcher, Eds.), pp. 85-103, Plenum, New York, 1972. source
boostedstates a cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Rests on an assumption not shown here.
- Supported
The paper states this without a source or data behind it here, so there is nothing to check it against. The quote shows it is in the paper.
In the paper
“Note again that N(pq) is prime.”
§ Riemann's Hypothesis and Tests for Primality* > LEMMA 2A.
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: unclear — It is unclear why the paper says it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“(2) an-l(mod n) where a varies over the first m primes, which will take 0(m [ n [ M(r n”
§ Riemann's Hypothesis and Tests for Primality* > Analysis of Running Time
plainstates a cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
None of the sources cited for this claim have been checked yet.
In the paper
“THEOREM 2 (ERH). There exists an algorithm which tests primality in 0([ n [4 log log [ n i) steps.”
§ Riemann's Hypothesis and Tests for Primality* > THEOREM 2 (ERH).
plainstates a cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Rests on an assumption not shown here.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“The first algorithm runs in O(n 1/7) steps; while, the second runs in 0(log* n) step but assumes the Extended Riemann Hypothesis.”
- Also stated in: § INTRODUCTION · plain
“We give an algorithm which tests primality and runs in 0(n 1/7) steps.”
§ Riemann's Hypothesis and Tests for Primality* > Abstract
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Also stated in: § INTRODUCTION · plain
23 more claims
Create a free account to see all 41 claims and to verify the 8 references still open.
- It may state two separate claims as one. 7
- The quote only partly states this claim. 3
- Probably not a substantial claim. 5
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.
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ Riemann's Hypothesis and Tests for Primality* > LEMMA 5 (ERH).
“Claim (ERH). Let h(n) = max{Period(n, 2),..., Period(n,f(n))}. Then h(n) ~ A(n) and h'(n) [ h(n).”
§ Riemann's Hypothesis and Tests for Primality* > LEMMA 5 (ERH).
“h ~r "period" since we can define a machine which simply calls for Period(n, 2) ..... Period(n,f(n)) and computes their LCM.”
Citations
Cites
Reducibility among Combinatorial Problems
Karp, R. M. (1972) · Complexity of Computer Computations · doi:10.1007/978-1-4684-2001-2_9 · Cited by 11,511
The complexity of theorem-proving procedures
Cook, S. A. (1971) · Proceedings of the third annual ACM symposium on Theory of computing - STOC '71 · doi:10.1145/800157.805047 · Cited by 6,385
Complexity of Computer Computations
(1972) · Springer eBooks · doi:10.1007/978-1-4684-2001-2 · Cited by 2,781
Schnelle Multiplikation großer Zahlen
Schönhage, A., & Strassen, V. (1971) · Computing · doi:10.1007/bf02242355 · Cited by 1,107
Class number, a theory of factorization, and genera
Shanks, D. (1971) · Proceedings of Symposia in Pure Mathematics · doi:10.1090/pspum/020/0316385 · Cited by 518
Topics in Multiplicative Number Theory
Montgomery, H. L. (1971) · Lecture Notes in Mathematics · doi:10.1007/bfb0060851 · Cited by 440
Theorems on factorization and primality testing
Pollard, J. M. (1974) · Mathematical Proceedings of the Cambridge Philosophical Society · doi:10.1017/s0305004100049252 · Cited by 402
On Character Sums and L -Series. II
Burgess, D. A. (1963) · Proceedings of the London Mathematical Society · doi:10.1112/plms/s3-13.1.524 · Cited by 392
Every Prime Has a Succinct Certificate
Pratt, V. R. (1975) · SIAM Journal on Computing · doi:10.1137/0204018 · Cited by 309
On Character Sums and Primitive Roots †
Burgess, D. A. (1962) · Proceedings of the London Mathematical Society · doi:10.1112/plms/s3-12.1.179 · Cited by 262
The distribution of quadratic residues and non‐residues
Burgess, D. A. (1957) · Mathematika · doi:10.1112/s0025579300001157 · Cited by 220
The Least Quadratic Non Residue
Ankeny, N. C. (1952) · The Annals of Mathematics · doi:10.2307/1969420 · Cited by 211
Riemann's Hypothesis and tests for primality
Miller, G. L. (1975) · Proceedings of seventh annual ACM symposium on Theory of computing - STOC '75 · doi:10.1145/800116.803773 · Cited by 186
Self-citationOn Character Sums and L-Series†
Burgess, D. A. (1962) · Proceedings of the London Mathematical Society · doi:10.1112/plms/s3-12.1.193 · Cited by 154
On Composite Numbers P Which Satisfy The Fermat Congruence aP-1≡1 Mod P
Carmichael, R. D. (1912) · American Mathematical Monthly · doi:10.1080/00029890.1912.11997658 · Cited by 118
The distribution of quadratic and higher residues
Davenport, H., & Erdős, P. (2022) · Publicationes Mathematicae Debrecen · doi:10.5486/pmd.1952.2.3-4.18 · Cited by 94
On Composite Numbers P Which Satisfy the Fermat Congruence a P-1 ≡1 mod P
Carmichael, R. D. (1912) · The American Mathematical Monthly · doi:10.2307/2972687 · Cited by 31
Proceedings of the seventh annual ACM symposium on Theory of computing
Rounds, W. C., Martin, N., Carlyle, J. W., & Harrison, M. A. (1975) · Cited by 17
An Algorithm for Testing the Primality of any Integer
Pollard, J. M. (1971) · Bulletin of the London Mathematical Society · doi:10.1112/blms/3.3.337 · Cited by 5
Research works printed but not linked: 3
- G. HARDY AND E. WRIGHT, "An Introduction to the Theory of Numbers," p. 111, Oxford Press, New York/London, 1968.
- D. KNUTH, "The Art of Computer Programming, Vol. 2: Seminumerical Algorithms," Addison-Wesley, Reading, Mass., 1969.
- A. SELRERO, Contributions to the theory of Dirichlet L functions, Avh. Nor. Vidensk., Akad. Oslo (1934).
Cited by
A method for obtaining digital signatures and public-key cryptosystems
Rivest, R. L., Shamir, A., & Adleman, L. (1983) · Communications of the ACM · doi:10.1145/357980.358017 · Cited by 13,012
Handbook of applied cryptography
(1997) · Choice Reviews Online · doi:10.5860/choice.34-4512 · Cited by 10,357
Algorithms for quantum computation: discrete logarithms and factoring
Shor, P. W. (2002) · Proceedings 35th Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1994.365700 · Cited by 8,713
Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer
Shor, P. W. (1997) · SIAM Journal on Computing · doi:10.1137/s0097539795293172 · Cited by 8,472
Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer
Shor, P. W. (1999) · SIAM Review · doi:10.1137/s0036144598347011 · Cited by 3,904
Metadata
- Authors
- Miller, G. L.
- Affiliations
- University of Waterloo (CA)
- Corresponding author
- Miller, Gary L.
- ORCID
- 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
- bronze
- doi.org
- Licence
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/open-access/userlicense/1.0/ (vor, 13377 d)
- 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.