Closed form for the number of multiples of $m$ needed to contain all digits in base $n$ where $m>n$
Statement
I asked this question on MSE here
In base for a positive integer , for each digit , let denote the smallest positive integer such that appears in the base- expansion of the product . The value is defined as the maximum of these indices:
To illustrate, let and . The digits appear in the sequence of multiples at different stages: the digit first appears at since , the digit appears at , the digit appears at , appears at (), the digit appears at , appears at (), the digit appears at , and appears at (). In this case, , as this is the minimum multiplier required to guarantee that every digit in the set has appeared at least once across the generated products.
As proved in this answer, for :
The regime where appears to be significantly more chaotic.
To analyze …
Posed by pie · sequences-and-series, closed-form-expressions
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-510456.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-510456.lean
import Mathlib /-! # Closed form for the number of multiples of $m$ needed to contain all digits in base $n$ where $m>n$ Source: https://mathoverflow.net/questions/510456 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_510456 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_510456