Skip to main content
Back to Permutations & Combinations
JEE Main 2023
Permutations & Combinations
Permutations and Combinations
Easy

Question

Let SS be the set of all passwords which are six to eight characters long, where each character is either an alphabet from {A,B,C,D,E}\{A, B, C, D, E\} or a number from {1,2,3,4,5}\{1,2,3,4,5\} with the repetition of characters allowed. If the number of passwords in SS whose at least one character is a number from {1,2,3,4,5}\{1,2,3,4,5\} is α×56\alpha \times 5^{6}, then α\alpha is equal to ___________.

Answer: 6

Solution

Key Concepts and Formulas

  • Complementary Counting: The number of ways to have at least one of something is the total number of possibilities minus the number of ways to have none of that thing.
  • Fundamental Principle of Counting: If there are mm ways to do one thing and nn ways to do another, there are m×nm \times n ways to do both.
  • Sum Rule of Counting: If there are mm ways to do one thing and nn ways to do another, and the two things cannot be done simultaneously, then there are m+nm+n ways to do either one.

Step-by-Step Solution

Step 1: Define the Character Set

We have a set of 10 characters to choose from: 5 letters (A, B, C, D, E) and 5 numbers (1, 2, 3, 4, 5).

Step 2: Calculate the total number of passwords of length 6, 7, and 8

  • For a password of length 6, each character can be any of the 10 characters. So, the total number of possible passwords is 10610^6.
  • For a password of length 7, the total number of possible passwords is 10710^7.
  • For a password of length 8, the total number of possible passwords is 10810^8.

Step 3: Calculate the number of passwords of length 6, 7, and 8 containing ONLY letters

  • For a password of length 6, if it contains only letters, each character can be any of the 5 letters. So, the total number of such passwords is 565^6.
  • For a password of length 7, the total number of such passwords is 575^7.
  • For a password of length 8, the total number of such passwords is 585^8.

Step 4: Calculate the number of passwords of length 6, 7, and 8 with at least one number

Using complementary counting, the number of passwords with at least one number is the total number of passwords minus the number of passwords with only letters:

  • Length 6: 1065610^6 - 5^6
  • Length 7: 1075710^7 - 5^7
  • Length 8: 1085810^8 - 5^8

Step 5: Calculate the total number of passwords with at least one number

The total number of passwords in SS with at least one number is the sum of the number of such passwords of length 6, 7, and 8: (10656)+(10757)+(10858)(10^6 - 5^6) + (10^7 - 5^7) + (10^8 - 5^8) =(106+107+108)(56+57+58)= (10^6 + 10^7 + 10^8) - (5^6 + 5^7 + 5^8)

Step 6: Factor out 565^6

=56(26+275+2852)56(1+5+52)= 5^6 (2^6 + 2^7 \cdot 5 + 2^8 \cdot 5^2) - 5^6(1 + 5 + 5^2) =56(26+527+25281525)= 5^6 (2^6 + 5 \cdot 2^7 + 25 \cdot 2^8 - 1 - 5 - 25) =56(64+5128+2525631)= 5^6 (64 + 5 \cdot 128 + 25 \cdot 256 - 31) =56(64+640+640031)= 5^6 (64 + 640 + 6400 - 31) =56(710431)= 5^6 (7104 - 31) =56(7073)= 5^6 (7073)

Step 7: Find the value of α\alpha

We are given that the number of passwords is α×56\alpha \times 5^6. Comparing this with our result, we have: α×56=7073×56\alpha \times 5^6 = 7073 \times 5^6 Therefore, α=7073\alpha = 7073.

Common Mistakes & Tips

  • Forgetting Complementary Counting: It's easy to try to directly count the number of passwords with at least one number, but this is much more complicated than using complementary counting.
  • Miscalculating Powers: Be careful when calculating the powers of 5 and 10.
  • Algebraic Errors: Ensure that all algebraic manipulations are correct, especially when factoring and simplifying expressions.

Summary

We found the total number of passwords with at least one number by first finding the total number of passwords of lengths 6, 7, and 8, and then subtracting the number of passwords of those lengths consisting only of letters. This gave us an expression of the form α×56\alpha \times 5^6, and we were able to solve for α\alpha.

The final answer is \boxed{7073}.

Practice More Permutations & Combinations Questions

View All Questions