document.write( "Question 1121619: Randy writes down a 5-digit number whose digits are all different, and whose first digit
\n" ); document.write( "is the sum of the other four digits. How many 5-digit numbers are there with this property?
\n" ); document.write( "

Algebra.Com's Answer #737561 by ikleyn(52778)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "The digits following after the very first digit are 0, 1, 2 and 3 and all their permutations.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Notice that the sum  0 + 1 + 2 + 3 = 6 is less than 10,  \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "while  1 + 2 + 3 + 4 = 10,  so the digits  1, 2, 3 and 4,  starting from 1, do not satisfy the condition.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Therefore, you have  4! = 24  options by making permutations of the digits  0, 1, 2 and 3  in the 2-nd, 3-rd, 4-th and 5-th positions.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In the very first position you have the digit 6 in all cases.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );