Minimum value of $4$-digit number divided by sum of its digits? If x was a positive 4 digit number and you divide it by the sum of its digits to get the smallest value possible, what is the value of x? For example (1234 = 1234/10)
I got 1099 as my answer however I don't know if this is right or how to prove it.

Let $x$ be the 4-digit number ending in digit not equal to 9 with the sum of digits equal to $s$. If you increase the last digit by one, the number becomes $x+1$ and the sum of digits becomes $s+1$.
You can easily prove that:
$$\frac xs>\frac{x+1}{s+1}$$
This is true because $x>s$. So to reduce the ratio as much as possible, the last digit has to be as big as possible, which is $9$. 
Now consider number $x$ with the third digit not eqaul to 9. Increase the third digit by one and the number becomes $x+10$ and the sum increases by 1. Again, you can show that:
$$\frac xs>\frac{x+10}{s+1}$$ 
This is true because $x>10s$. So the third digit also has to be as big as possibe. So the last two digits must be equal to 9. 
Consider now the first digit and decrease it by one. The number becomes $x-1000$ and the sum becomes $s-1$. 
$$\frac xs>\frac{x-1000}{s-1}$$
This is true because it is equivalent to:
$$x<1000s$$
...and you know that $s$ is certainly greater than 18 (the last two digits must be 9). So the first digit has to be as small as possible i.e. 1 and the number is of the form:
$$1a99$$
The ratio you want to minimize now becomes:
$$\frac{100a+1099}{a+19}=100-\frac{801}{a+19}$$
Minimum value is reached for minumum value of $a$ which is 0. So the solution is: 1099.
