How many integers from to inclusive have their sum of digits (in base 10) divisible by 5?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It is easy to observe that for every 10 number, there exists an integer of which sum equals 5 n . Adding a 5 to it produces a number whose sum equals 5 n + 5 whichnis also included in the same set of number. Therefore, answer is 1 0 0 0 0 0 0 / 1 0 ∗ 2 − 1 , the one is being deducted, just because there don't exist two such number in the first ten integer.