TOPICS
Search

Steffi Problem


The Steffi problem concerns integer ratios between numbers obtained by permuting the same set of digits. A homework problem proposed in Steffi's math class in January 2003 asked students to prove that no ratio of two unequal numbers obtained by permuting all the digits 1, 2, ..., 7 results in an integer. If the numerator A and denominator B satisfied A=rB for an integer r, then 2<=r<=6, since the numbers are positive and unequal and A/B<=7654321/1234567<7. By the divisibility test for 9, every such permutation is congruent to 1  (mod9), since the sum of its digits is 28. Hence A=rB implies r=1  (mod9), which is impossible for 2<=r<=6.

In general, for integers b>=3 and 2<=k<b, consider the number of ordered pairs (A,B) of unequal numbers obtained by permuting all the digits 1, 2, ..., k in base b, whose ratio A/B is an integer. Then there is a unique (b=4,k=3) solution

 (312_4)/(123_4)=2,
(1)

a unique (5,4) solution

 (4312_5)/(1234_5)=3,
(2)

three (6,4) solutions

(3124_6)/(1342_6)=2
(3)
(4213_6)/(1243_6)=3
(4)
(4312_6)/(2134_6)=2,
(5)

and so on.

The number of solutions for the first few bases and numbers of digits k are summarized in the table below (OEIS A080202).

b# solutions for digits 12_b, 123_b, ..., 12...(b-1)_b
30
40, 1
50, 0, 1
60, 0, 3, 25
70, 0, 0, 2, 7
80, 0, 0, 0, 68, 623
90, 0, 0, 0, 0, 124, 1183
100, 0, 0, 0, 0, 0, 2338, 24603
110, 0, 0, 0, 0, 0, 3, 598, 5895
120, 0, 0, 0, 0, 0, 0, 0, 161947, 2017603

As can be seen from the table, in base 10, the only solutions are for the digits 12345678 and 123456789. Of the solutions for 12345678_(10), there are two that produce three different integers for the same numerator:

(85427136)/(42713568)=2,(85427136)/(21356784)=4,(85427136)/(14237856)=6
(6)
(86314572)/(43157286)=2,(86314572)/(21578643)=4,(86314572)/(14385762)=6.
(7)

Taking the diagonal entries (b,b-1) from this list for b=3, 4, ... gives the sequence 0, 1, 1, 25, 7, 623, 1183, 24603, ... (OEIS A080203).


See also

Divisibility Tests, Pandigital Fraction

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

Sloane, N. J. A. Sequences A080202 and A080203 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Steffi Problem

Cite this as:

Weisstein, Eric W. "Steffi Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SteffiProblem.html

Subject classifications