Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra junior

Problem

If and are integers such that , what is the smallest possible value of ?
Solution
From we can get that . Then we want to minimize In other words we want as close to as possible while still giving us integer solutions for and to the equation .

By trial and error, we can find that the solution to that makes closest to is . Then we have .
Final answer
3