Six digit number divisible by 271
Source: Bundeswettbewerb Mathematik 2019, Round 1 - Problem 2
August 5, 2019
DigitsdivisibleDivisibilitynumber theory
Problem Statement
The lettes and represent six not necessarily distinct decimal digits so that and . We form the two six-digit numbers and .Show that the difference of these two numbers is divisible by if and only if and .Remark: The words "Schlaf" and "Flachs" are German for "sleep" and "flax".