2023 SSMO Relay Round 5 Problems/Problem 1
Problem
Let be the set of all rational numbers of the form
where
is an integer satisfying
and
are nonzero integers. If
find
Solution
To find , we just find the average of all numbers in
and multiply by the size of the set. The average of the nonzero digits is
, so the average of all numbers in
is
. There are
choices for each
, so there are
terms in
; thus the sum is
, so
Then the equation becomes
By geometric series,
, so