Left to Solve
Problems / MathOverflow (not formalized)

Conjecture on a sieve of Flavius Josephus

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

Statement

Flavius Josephus's sieve: Start with the natural numbers; at the -th sieving step, remove every -st term of the sequence remaining after the -st sieving step; iterate.

Some examples: The resulting sequence (A000960) begins There are at least ways to enumerate the number of the round in which is removed in the sieve of Flavius Josephus for :

• if (A278528)

• if (A278538)

Let

I conjecture that if is the smallest number such that , then

• if is positive, then it is the number of the round in which is removed …

Posed by Notamathematician · nt.number-theory, co.combinatorics, sequences-and-series, recurrences

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

import Mathlib

/-!
# Conjecture on a sieve of Flavius Josephus

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_418146