document.write( "Question 644763: Hey guys would be great if you could help me out with the following problem:
\n" );
document.write( "4-digit code with 0-9 as possible digits. How many codes are there that
\n" );
document.write( "contain the digit \"0\" exactly twice?
\n" );
document.write( "I found that (10^4) - (9^4) = 3439 which is the number of codes with \"0\" at least once. Any help on how I would go about solving two instances of \"0\" would be awesome.
\n" );
document.write( "Thanks,
\n" );
document.write( "Rob \n" );
document.write( "
Algebra.Com's Answer #405246 by josmiceli(19441)![]() ![]() You can put this solution on YOUR website! the codes will look like one of these: \n" ); document.write( "00xx \n" ); document.write( "xx00 \n" ); document.write( "0x0x \n" ); document.write( "x0x0 \n" ); document.write( "x00x \n" ); document.write( "0xx0 \n" ); document.write( "where the x's can't be 0, but \n" ); document.write( "they can be 1-9 \n" ); document.write( "------------- \n" ); document.write( "So there are \n" ); document.write( "codes for each of these 6 choices \n" ); document.write( "there are 6*81 = 486 possible \n" ); document.write( "codes altogether \n" ); document.write( " |