2007 SMT Algebra Round Problem 4
Problem
How many positive integers
, with
, yield a solution for
(where
is real) in the equation
?
Solution
Let's try to find solutions for
If
, then we have a solution when
. If
, then we have a solution when
. If
, then we have a solution
. If
, then we have a solution
. If
, we have
and if
, then we have
, so
or
do not have a solution. If
, then just add
to the solution to the remainder of
and if the remainder of
is
or
, then there is no
that satisfies the equation. So, we have
possibilities out of every
numbers, so we can get the number of solutions by doing
and then getting that the remainder of
is 3 and so we have
's where when divided by 6 gives remainder of
and
, so they all have a solution of
, and so we add
to
to get
.
~Yuhao2012