document.write( "Question 1210205: How many 7-digit sequences have a digit that appears at least 6 times?\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "(For example, 3339333 and 0200000 are two such sequences. A sequence is allowed to begin with 0.)
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #851604 by CPhill(1959)![]() ![]() You can put this solution on YOUR website! Let a 7-digit sequence be represented by $d_1 d_2 d_3 d_4 d_5 d_6 d_7$, where each $d_i \in \{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}$. \n" ); document.write( "We are looking for the number of sequences where a digit appears at least 6 times. This can happen in two cases: \n" ); document.write( "Case 1: A digit appears exactly 6 times. \n" ); document.write( "Case 2: A digit appears exactly 7 times.\r \n" ); document.write( "\n" ); document.write( "Case 1: A digit appears exactly 6 times. \n" ); document.write( "First, choose which digit appears 6 times. There are 10 choices (0 to 9). \n" ); document.write( "Next, choose the positions for these 6 digits in the 7-digit sequence. There are $\binom{7}{6}$ ways to choose the 6 positions. \n" ); document.write( "Finally, choose the digit for the remaining position. Since this digit cannot be the same as the digit that appears 6 times, there are 9 choices for this remaining digit. \n" ); document.write( "So, the number of sequences where a digit appears exactly 6 times is $10 \times \binom{7}{6} \times 9 = 10 \times 7 \times 9 = 630$.\r \n" ); document.write( "\n" ); document.write( "Case 2: A digit appears exactly 7 times. \n" ); document.write( "First, choose which digit appears 7 times. There are 10 choices (0 to 9). \n" ); document.write( "Next, all 7 positions in the sequence must be this chosen digit. There is only $\binom{7}{7} = 1$ way to place these digits. \n" ); document.write( "So, the number of sequences where a digit appears exactly 7 times is $10 \times \binom{7}{7} = 10 \times 1 = 10$.\r \n" ); document.write( "\n" ); document.write( "The total number of 7-digit sequences where a digit appears at least 6 times is the sum of the numbers from Case 1 and Case 2. \n" ); document.write( "Total number of sequences = (Number of sequences with exactly 6 repetitions) + (Number of sequences with exactly 7 repetitions) \n" ); document.write( "Total number of sequences = 630 + 10 = 640.\r \n" ); document.write( "\n" ); document.write( "Final Answer: The final answer is $\boxed{640}$ \n" ); document.write( " |