DR.WANG Mathematics中文

1962 IMO · Question 1

Number theory · digits

Problem outline

Find the least positive integer ending in 6 such that transferring that final digit to the front multiplies the number by four.

Show answer and methods 1 methods

Answer

153846153846.

Method 1 Use the length of the prefix

The one-digit candidate 6 fails. Write a longer number as 10a+610a+6, with a kk-digit positive prefix aa. After the rotation, 6⋅10k+a=4(10a+6)6\cdot10^k+a=4(10a+6), or 13a=2(10k−4)13a=2(10^k-4).

Thus 10k≡4(mod13)10^k\equiv4\pmod{13}. The successive powers beginning with 10110^1 have residues 10,9,12,3,410,9,12,3,4, so the earliest possible kk is five.

For k=5k=5 the equation gives a=15384a=15384, which really has five digits. The number 153846153846 rotates to 615384=4⋅153846615384=4\cdot153846. All larger possible kk give more digits.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)