document.write( "Question 1068647: I am a 4 digit number. My thousands digit is the sum of my tens digit and ones digit. My hundred digits is the greatest digit. My ten digits is not the same as my hundred digits. If none of my digit are the same, what is the greatest possible 4 digit number that I can be? \n" ); document.write( "
Algebra.Com's Answer #683894 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "The problem didn't need to state that
\"My ten digits is not the same as my hundred digits.\"
because it says this:
\"none of my digit are the same\"
\n" ); document.write( "
Anyway:\r\n" );
document.write( "\r\n" );
document.write( "We want the number to be as large as possible, so\r\n" );
document.write( "we want the first digit, the thousands digit, to\r\n" );
document.write( "be as large as possible.  We can't make it 9, because\r\n" );
document.write( "the second digit is the largest digit.  So the largest\r\n" );
document.write( "we can make the 1st digit is 8 and the 2nd digit 9.\r\n" );
document.write( "\r\n" );
document.write( "So the number starts with \"89\". The last two digits have\r\n" );
document.write( "to add up to the first digit. The largest two digit\r\n" );
document.write( "number whose digits add up to 8 is 80, but we can't use\r\n" );
document.write( "that since the 1st and 3rd digit can't be the same, so we \r\n" );
document.write( "pick the next largest two digit number with the sum of\r\n" );
document.write( "digits 8, which is 71.\r\n" );
document.write( "\r\n" );
document.write( "So the answer is 8971.\r\n" );
document.write( "\r\n" );
document.write( "[Note, if they'd asked for the smallest 4-digit number instead\r\n" );
document.write( "of the largest, the answer would have been 3412]\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );