Question 1208684
.
Find the number of 7-digit positive integers, where the sum of the digits is divisible by 3.
~~~~~~~~~~~~~~~~~~~


<pre>
First 7-digit positive integer number is 1,000,000 (one million).

The last  7-digit positive integer number is 9,999,999.

The number of all 7-digit positive integer number is 9,999,999 - 999,999 = 9,000,000.


The 7-digit positive integer numbers, whose sum of digits is divisible by 3 
are those and only whose of this set that are divisible by 3.


The number of such numbers is one third of 9,000,000, i.e. 3,000,000.


<U>ANSWER</U>.   The number of 7-digit positive integers, where the sum of the digits is divisible by 3 is 3,000,000.
</pre>

Solved.