Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Can primes be (almost) random sequence in von Mises sense?

Number theoryProbability & statistical mechanicsTheoretical computer science

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Random models for primes (such as Cramer's model) have been extensively used for informal justification of various conjectures involving primes. It is crucial to understand in what sense sequence of primes 2,3,5,7,..., or, equivalently, sequence 01101010001..., where an=1a_n=1an​=1 if nnn is prime and an=0a_n=0an​=0 otherwise, can be considered as "random sequence". In fact, even define what exactly is "random sequence" is a non-trivial problem. The first noticeable definition is due to Richard von Mises, and states that infinite binary sequence x=x1x2...x=x_1x_2...x=x1​x2​... is random, if (a) the limiting density of 1-s is 1/21/21/2, and (b) the limiting density of 1-s is 1/21/21/2 in any admissible subsequence of xxx. Here, "admissible" subsequence is defined informally as a rule, which, given x1,x2,...,xn−1x_1, x_2, ..., x_{n-1}x1​,x2​,...,xn−1​, decides whether to include xnx_nxn​ in the subsequence. For example, we can include every xnx_nxn​ that follows immediately after 001001001. However, if we allow any subsequence to be admissible, we could choose one consisting with 111-s only, and property (b) would fail. In a sense, choosing such subsequence would be a "cheating". Von Mises, however, never gave fully formal definition of "admissible". Church later suggested that "rule" should mean "Turing machine", hence "admissible subsequence" is just "computable". This looked as a good definition until Ville showed that there are sequences, random in Church-Mises sense, such that for any nnn the number of 1-s among x1,....,xnx_1, ...., x_nx1​,....,xn​ is not less than number of 000-s. In a sense, Mises-Church definition of random sequence is based on the law of large numbers only, but fails some other statistical tests. Stronger definition was later suggested which "passes all statistical tests at once".

Interestingly, primes also fails "other statistical tests". For example, Chebyshev's bias is the fact that for most N there are more primes less than N is the form 4k+34k+34k+3 than in the form 4k+14k+14k+1. So, the most we can hope that primes pass "the law of large numbers only", that is, random in a sense similar to Mises.

Conjecture 1 (informal). The prime sequence 01101010001...01101010001...01101010001... is "random" in the sense that (a) lim⁡n→∞P(n)n/log⁡n=1\lim\limits_{n\to\infty}\frac{P(n)}{n/\log n}=1n→∞lim​n/lognP(n)​=1, where P(n)P(n)P(n) is the number of primes less than nnn, and (b) the same holds in any "admissible" subsequence of it.

Part (a) is just the prime number theorem, so the main part is (b). The main question here is what the "admissible" subsequence should mean in case of primes. Informally, it should be a "non-cheating" one, that is, there should be no obvious reason for different density of primes within it. In particular, sequence of all even numbers is "cheating" (no primes), and the same with odd numbers (more primes). In fact, we expect about equal proportion of odd and even numbers in "admissible" sequence, and, more generally

(*) for every fixed primes p1,...,pnp_1,...,p_np1​,...,pn​ the limiting density of numbers not divisible by p1,...,pnp_1,...,p_np1​,...,pn​ in an admissible subsequence should be (1−1p1)(1−1p2)...(1−1pn)(1-\frac{1}{p_1})(1-\frac{1}{p_2})...(1-\frac{1}{p_n})(1−p1​1​)(1−p2​1​)...(1−pn​1​)

Obviously, there are different way of "cheating", and it is possible to construct a sequence of all composite numbers satisfying (*). However, it seems that doing this requires at least operation of multiplication, which (conjecturally) cannot be performed in linear time. Parallel to Church idea, why not define "admissible" to be "computable in linear time"?

Conjecture 2 (formal). Let TTT be a Turing machine, which, given natural number nnn (in binary), and an oracle which for any k<nk<nk<n returns whether kkk is a prime, decides in linear time whether to accept nnn. Let AAA be a set of numbers accepted by TTT. Assume that AAA is infinite and satisfies (*). Then lim⁡n→∞PA(n)∑m∈A,m≤n(log⁡m)=1\lim\limits_{n\to\infty}\frac{PA(n)}{\sum\limits_{m\in A, m \leq n} (\log m)}=1n→∞lim​m∈A,m≤n∑​(logm)PA(n)​=1, where PA(n)PA(n)PA(n) is the number of primes among elements of AAA less than nnn.

Conjecture 2, if correct, would mean that primes are (almost) random in von Mises sense, and imply the truth of a lot of conjectures about primes, including, for example, the twin primes conjecture (include in AAA numbers in the form p+2p+2p+2 for ppp prime + some carefully selected composite numbers to satisfy (*)).

My questions are: is Conjecture 2 wrong with an obvious counterexample? If no, is it well-known? If indeed wrong, are there other reasonable ways to formalize the concept of "admissible subsequence" in Conjecture 1?

Statement and context adapted from MathOverflow · Bogdan Grechuk

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Density of an integer set
Look at the proportion of its elements among 1, …, N as N grows. “Almost all” integers usually means that the exceptions have density zero.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · pr.probability · prime-numbers · computational-complexity

Authors listed by the source : Bogdan Grechuk

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : March 18, 2016

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni