DR.WANG Mathematics中文

2022 AIME I · Question 2

Number theory · number base · digits · modular arithmetic · arithmetic

Problem outline

A three-digit decimal number has digits a,b,ca,b,c in that order, but in base nine its digits are b,c,ab,c,a. Digits may repeat. Find the decimal number.

Show answer and methods 1 methods

Answer

227

Method 1 Compare the place values modulo nine

Expanding both representations gives 99a=71b+8c99a=71b+8c. All the digits are at most eight and a,ba,b are nonzero. Reduction modulo nine gives b+c≡0(mod9)b+c\equiv0\pmod9, so b+c=9b+c=9.

Substitution yields 11a=7b+811a=7b+8. Hence a≡2(mod7)a\equiv2\pmod7, forcing a=2a=2. Then b=2,c=7b=2,c=7 and the answer is 227227.

Source and attribution

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

Original question (external)