document.write( "Question 1075841: You find a locked treasure box. There are 40 numbers on the dial 0-39 You also find a clue that says that the combination that opens the lock contains repeats in the 3 number combinations
\n" ); document.write( "How many of the total possible three digit combinations include repeats?
\n" ); document.write( "

Algebra.Com's Answer #690484 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
With repeats there are 40 * 40 * 40 = 64000 combinations
\n" ); document.write( "Without repeats there are 40 * 39 * 38 = 59280
\n" ); document.write( ":
\n" ); document.write( "There are 64000 - 59280 = 4720 combinations that include repeats
\n" ); document.write( ":
\n" ); document.write( "
\n" ); document.write( "
\n" );