MathDB
Six digit number divisible by 271

Source: Bundeswettbewerb Mathematik 2019, Round 1 - Problem 2

August 5, 2019
DigitsdivisibleDivisibilitynumber theory

Problem Statement

The lettes A,C,F,H,LA,C,F,H,L and SS represent six not necessarily distinct decimal digits so that S0S \ne 0 and F0F \ne 0. We form the two six-digit numbers SCHLAFSCHLAF and FLACHSFLACHS.
Show that the difference of these two numbers is divisible by 271271 if and only if C=LC=L and H=AH=A.
Remark: The words "Schlaf" and "Flachs" are German for "sleep" and "flax".