document.write( "Question 1160695: A briefcase lock opens with the correct 4-digit code. If the digits can be any number from 0-9 with no repetition, how many 4-digit codes are possible that end in a multiple of 3? \n" ); document.write( "
Algebra.Com's Answer #784070 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So, there are 4 possibilities for the last digit in the 4-th position reading from left to right.\r\n" );
document.write( "\r\n" );
document.write( "    These possibilities are 0, 3, 6 and 9.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then there are 10-1 = 9 possibilities for the digit in  the 3-rd position;\r\n" );
document.write( "\r\n" );
document.write( "                      8 possibilities for the digit in  the 2-nd position;\r\n" );
document.write( "\r\n" );
document.write( "                      7 possibilities for the digit in  the 1-st position.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In all, there are  4*9*8*7 = 2016 different codes, satisfying imposed conditions.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );