When 39,500 is divided by an integer $n$, the quotient is 123 and the remainder is 17. Find $n$.
I know that the general formula for dividing by an integer is dividend = quotient * divisor + remainder. In this problem, the dividend is 39,500, the quotient is 123, and the remainder is 17. So I can write the equation 39,500 = 123 * n + 17. I want to isolate $n$ on one side, so I subtract 17 from both sides and get 39,483 = 123 * n. Now I divide both sides by 123 and get 321 = n. This means that the integer $n$ that divides 39,500 and gives a quotient of 123 and a remainder of 17 is 321. 