Let S(N) denote the digit sum of the integer N. As N ranges over all 3-digit positive numbers, what value of N would give the minimum of M=N/S(N)?

2 answers

This seems to be a programming challenge.

While this can probably be worked out in mathematical terms, it is easily shown by exhaustive search that the 3-digit number is 199, where the minimum quotient is
199/19
=10.47 approximately.
If from now you are going to post any brilliant question half of your points will be deducted.
Your account has been tracked by us,