Balti Tee 2011 · Valikvooru ülesanne
Arvuteooria
A number , written in decimal notation, consists of digits. All the digits are , except the middle digit. If is divisible by , find the middle digit.
Kui oled valmis
Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.
Ülevaade
Teemad
Jaguvus ja tegurdamine
Lahendused
Lahendus
Since is divisible by , so is . Noting that , by taking off blocks of from we deduce that is divisible by .
Now reduce the number further by subtracting multiples of , obtaining multiples of at every step: