Cayley 2017 Q6
6. We write ‘pq’ to denote the two-digit integer with tens digit \(p\) and units digit \(q\).
For which values of \(a\), \(b\) and \(c\) are the two fractions \(\dfrac{\text{‘}ab\text{’}}{\text{‘}ba\text{’}}\) and \(\dfrac{\text{‘}bc\text{’}}{\text{‘}cb\text{’}}\) equal and different from 1?
Cayley Olympiad 2017, Question 6. © UK Mathematics Trust. Original paper on ukmt.org.uk
Write this using ‘proper’ algebra: the question asks us to find solutions to
where \(a\), \(b\) and \(c\) are integers from 1 to 9 (none of them can be 0 because ‘ab’ and so on are two-digit numbers).
Multiplying each side of (1) by \((10b + a)(10c + b)\), we obtain
\[(10a + b)(10c + b) = (10b + c)(10b + a),\]
that is,
\[100ac + 10(ab + bc) + b^2 = 100b^2 + 10(ab + bc) + ac,\]
so that
\[100ac + b^2 = 100b^2 + ac.\]
But \(a\), \(b\) and \(c\) are integers between 1 and 9, hence \(b^2\) and \(ac\) are between 1 and 81.
Therefore \(b^2\) and \(ac\) are less than 100, whereas \(100ac\) and \(100b^2\) are greater than 100. It follows that \(b^2 = ac\).
Note that \(a \neq b\) (otherwise \(a = b\) and then \(b = c\) too, so that \(a = b = c\)).
Remembering that \(a\), \(b\) and \(c\) are integers from 1 to 9, we get the values shown in the following table.
| \(b\) | \(a\), \(c\) in either order |
| 2 | 1, 4 |
| 3 | 1, 9 |
| 4 | 2, 8 |
| 6 | 4, 9 |
Solution © UK Mathematics Trust, from the Cayley Olympiad 2017 solutions.