Left to Solve
Problems / MathOverflow (not formalized)

Asymptotic density of winning positions in "Prime Nim"?

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

Consider a single-pile NIM variant, played under standard (not misere) objective, with the rule that you may remove any prime number from the pile. The winning positions of this game are all numbers where and for consists of all numbers which are not of the form . (This sequence appears, to 10,000 terms, in OEIS as A025043.)

What is the asymptotic density (and if that is zero, bounds on a counting function) of winning positions?

Knowing the counting function of primes, one can frame a probabilistic argument about the likelihood that a given number by solving an integral equation that looks something like (and you don't even have to solve the equation, just determine the asymptotic behavior of the solution). But that, of course, does not prove anything, since the primes could easily conspire to make the distribution different than that naive probability argument would suggest.

Posed by Mark Fischler · prime-numbers, nim

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-222250.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-222250.lean

import Mathlib

/-!
# Asymptotic density of winning positions in "Prime Nim"?

Source: https://mathoverflow.net/questions/222250
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_222250

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_222250