document.write( "Question 1208272: What is the number of different five-digit numbers that can be formed from the set S={2,3,4,5,6} such that one digit is repeated twice and another digit is repeated twice \n" ); document.write( "
Algebra.Com's Answer #846584 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "\r\n" );
document.write( "When a digit is repeated three times, it is repeated two times. \r\n" );
document.write( "\r\n" );
document.write( "They are either the arrangements of XXYYZ or of XXYYY, where different\r\n" );
document.write( "letters represent different digits.\r\n" );
document.write( "\r\n" );
document.write( "Case 1.  The arrangements of XXYYZ.\r\n" );
document.write( "Choose the X 5 ways.\r\n" );
document.write( "Choose the Y 4 ways.\r\n" );
document.write( "Choose the Z 3 ways.\r\n" );
document.write( "That's (5)(4)(3)=60 ways.\r\n" );
document.write( "\r\n" );
document.write( "We divide by two because, for instance, XXYYZ could be chosen respectively, as\r\n" );
document.write( "33556 or 55336, which are the same.\r\n" );
document.write( "\r\n" );
document.write( "So that's 30 ways. to select the three digits.\r\n" );
document.write( "\r\n" );
document.write( "They may be ordered in \"5%21%2F%282%212%21%29\"\"%22%22=%22%22\"\"30\" distinguishable ways.\r\n" );
document.write( "\r\n" );
document.write( "That's (30)(30) = 900 ways\r\n" );
document.write( "\r\n" );
document.write( "Case 2: The arrangements of XXYYY\r\n" );
document.write( "\r\n" );
document.write( "Choose the digit for X in 5 ways.\r\n" );
document.write( "Choose the digit for Y in 4 ways.\r\n" );
document.write( " \r\n" );
document.write( "So that's (5)(4) = 20 ways.\r\n" );
document.write( "\r\n" );
document.write( "Each may be permuted in \"5%21%2F%282%213%21%29\"\"%22%22=%22%22\"\"10\" distinguishable ways.\r\n" );
document.write( "\r\n" );
document.write( "That's (20)(10) = 200\r\n" );
document.write( "\r\n" );
document.write( "For both cases, that's 900+200 = 1100.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );