Closed form for the number of multiples of $m$ needed to contain all digits in base $n$ where $m>n$
Few votes (2) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
I asked this question on MSE here
In base \(n\) for a positive integer \(m\), for each digit \(d \in \{0, 1, \dots, n-1\}\), let \(s_d\) denote the smallest positive integer such that \(d\) appears in the base-\(n\) expansion of the product \(s_d \cdot m\). The value \(a_{n,m}\) is defined as the maximum of these indices:$$a_{n,m} = \max_{0 \leq d < n} s_d$$
To illustrate, let \(n=10\) and \(m=2\). The digits appear in the sequence of multiples \(\{k \cdot 2\}_{k \geq 1}\) at different stages: the digit \(0\) first appears at \(k=5\) since \(5 \cdot 2 = 10\), the digit \(3\) appears at \(k=15\), the digit \(4\) appears at \(k=2\), \(5\) appears at \(k=25\) (\(50\)), the digit \(6\) appears at \(k=3\), \(7\) appears at \(k=35\) (\(70\)), the digit \(8\) appears at \(k=4\), and \(9\) appears at \(k=45\) (\(90\)). In this case, \(a_{10,2} = 45\), as this is the minimum multiplier required to guarantee that every digit in the set \(\{0, 1, \dots, 9\}\) …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.