document.write( "Question 880359: how many nine digit positive integers are there the sum of square of whose digits is 2 \n" ); document.write( "
Algebra.Com's Answer #531467 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
If the sum of the squares of the digits of a nine-digit positive integer is 2,
\n" ); document.write( "then that number has two digits that are 1, and seven digits that are 0.
\n" ); document.write( "To be a nine-digit positive integer, the first digit must be other than 0,
\n" ); document.write( "so the first digit must be 1.
\n" ); document.write( "Then the other digit that is also 1 could be the 2nd, 3rd, 4th, .... 8th or 9th digit.
\n" ); document.write( "That gives us \"8\" choices:
\n" ); document.write( "110,000,000,
\n" ); document.write( "101,000,000,
\n" ); document.write( "100,100,000,
\n" ); document.write( "100,010,000,
\n" ); document.write( "100,001,000,
\n" ); document.write( "100,000,100,
\n" ); document.write( "100,000,010, and
\n" ); document.write( "100,000,001.
\n" ); document.write( "
\n" );