MathDB
euclidean division problem for starters

Source: Finland 2017, p1

September 8, 2019
number theoryremainderEuclidean algorithmDivision

Problem Statement

By dividing the integer mm by the integer n,22n, 22 is the quotient and 55 the remainder. As the division of the remainder with nn continues, the new quotient is 0.40.4 and the new remainder is 0.20.2. Find mm and nn.