Left to Solve
Problems / MathOverflow (not formalized)

Must every even losing position in the subtract-a-prime-divisor game have at most two distinct odd prime factors?

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

Statement

Here's a game I've been playing around with: A token sits on an integer . A move replaces by , where is any prime divisor of . Normal play: if you can't move, you lose, so and are the losing terminals. Writing for "the player to move from loses," with :

For example, (5) wins by moving directly to (0). In contrast, (4) has only the move (), after which the opponent plays (), so (4) loses.

The losing positions begin (not in the OEIS, as far as I can tell).

I wrote some C++ code and computed the full win/loss table out to to see what turns up.

Write for the number of distinct odd prime divisors of .

Question 1. Is every even with a winning position?

All even with are wins.

Why there is structure at all

Subtracting a prime divisor keeps you on its ladder: (call this the shield …

Posed by Philip Weiss · nt.number-theory, prime-numbers, computational-number-theory, combinatorial-game-theory

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-513120.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-513120.lean

import Mathlib

/-!
# Must every even losing position in the subtract-a-prime-divisor game have at most two distinct odd prime factors?

Source: https://mathoverflow.net/questions/513120
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_513120

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

theorem main : sorry := by
  sorry

end OMA.S_mo_513120