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

What is the value of this simple game with primes?

Number theoryProbability & statistical mechanics

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

Consider the following game. Alice selects an integer nnn from [1,b][1,b][1,b], while Bob selects an integer mmm from (a,b](a,b](a,b] (for concreteness, you may choose a=1010a=10^{10}a=1010 and b=101000b=10^{1000}b=101000). Alice wins if m−nm-nm−n is a positive prime, Bob wins otherwise. Both players are allowed to use mixed strategies (that is, select their integers at random according to any distribution they want). What is the value of this game? That is, what is the maximal winning probability p∗p^*p∗ Alice can achieve, no matter how Bob plays?

My preliminary calculation shows that, for aaa fixed and bbb large, O((log⁡b)−2)≤p∗≤O((log⁡b)−1)O((\log b)^{-2}) \leq p^* \leq O((\log b)^{-1})O((logb)−2)≤p∗≤O((logb)−1). The problem is to significantly narrow the gap between these estimates.

Update (some details): If Bob selects mmm uniformly at random from (a,b](a,b](a,b], then, whatever nnn Alice selects, her winning probability is at most π(b−n)b−a≤π(b)b−a\frac{\pi(b-n)}{b-a} \leq \frac{\pi(b)}{b-a}b−aπ(b−n)​≤b−aπ(b)​, where π\piπ is the prime counting function, which is O((log⁡b)−1)O((\log b)^{-1})O((logb)−1) if aaa fixed and bbb large.

Next, let Alice select nnn from (2,b](2,b](2,b] with probability q(n)=log⁡2n−log⁡2(n−1)log⁡2b−log⁡22.q(n)=\frac{\log^2 n-\log^2(n-1)}{\log^2 b-\log^2 2}.q(n)=log2b−log22log2n−log2(n−1)​. Then, whatever mmm Bob selects, Alice wins with probability ∑p≤mq(m−p)\sum\limits_{p\leq m}q(m-p)p≤m∑​q(m−p), where the summation is over all primes ppp not exceeding mmm. Because qqq is non-increasing, ∑p≤mq(m−p)≥∑i=0π(m)−1q(m−i)=log⁡2m−log⁡2(m−π(m))log⁡2b−log⁡22>log⁡2m−log⁡2(m−π(m))log⁡2b=2log⁡2b∫m−π(m)mlog⁡xxdx>2log⁡2b∫m−π(m)mlog⁡mmdx=2log⁡2bπ(m)log⁡mm>2log⁡2b.\sum\limits_{p\leq m}q(m-p) \geq \sum\limits_{i=0}^{\pi(m)-1}q(m-i)=\frac{\log^2 m-\log^2(m-\pi(m))}{\log^2 b-\log^2 2} > \frac{\log^2 m-\log^2(m-\pi(m))}{\log^2 b}=\frac{2}{\log^2 b}\int\limits_{m-\pi(m)}^m \frac{\log x}{x}dx > \frac{2}{\log^2 b}\int\limits_{m-\pi(m)}^m \frac{\log m}{m}dx = \frac{2}{\log^2 b}\pi(m) \frac{\log m}{m} > \frac{2}{\log^2 b}.p≤m∑​q(m−p)≥i=0∑π(m)−1​q(m−i)=log2b−log22log2m−log2(m−π(m))​>log2blog2m−log2(m−π(m))​=log2b2​m−π(m)∫m​xlogx​dx>log2b2​m−π(m)∫m​mlogm​dx=log2b2​π(m)mlogm​>log2b2​.

Statement and context adapted from MathOverflow · Bogdan

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

A few useful definitions

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 · game-theory

Authors listed by the source : Bogdan

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : February 12, 2018

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