2021 JMPSC Accuracy Problems/Problem 13
Problem
Let and
be nonnegative integers such that
Find the sum of all possible values of
Solution
asdf
Easily, we can see that .
must be
because
is divisible by
and
is not divisible by
. Therefore
. So,
13.
Case 1: .
There are no possible answer when
, but when
,
can equal
or
.
Case 2:
This works when
.
Therefore, the answer is
. ~ kante314