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

Question

Let xx and yy be distinct integers where 1x251 \le x \le 25 and 1y251 \le y \le 25. Then, the number of ways of choosing xx and yy, such that x+yx+y is divisible by 5, is ____________.

Answer: 5

Solution

Key Concepts and Formulas

  • Divisibility rule: A number is divisible by 5 if its last digit is either 0 or 5.
  • Counting principle: If there are mm ways to do one thing and nn ways to do another, then there are m×nm \times n ways to do both.
  • Permutations: Since xx and yy are distinct, the order matters.

Step-by-Step Solution

Step 1: Categorize the integers based on their remainders when divided by 5.

We divide the integers from 1 to 25 into 5 categories based on their remainders when divided by 5.

  • Numbers of the form 5λ5\lambda: 5, 10, 15, 20, 25 (5 numbers)
  • Numbers of the form 5λ+15\lambda + 1: 1, 6, 11, 16, 21 (5 numbers)
  • Numbers of the form 5λ+25\lambda + 2: 2, 7, 12, 17, 22 (5 numbers)
  • Numbers of the form 5λ+35\lambda + 3: 3, 8, 13, 18, 23 (5 numbers)
  • Numbers of the form 5λ+45\lambda + 4: 4, 9, 14, 19, 24 (5 numbers)

Step 2: Determine the pairs of remainders that sum to a multiple of 5.

For x+yx + y to be divisible by 5, the sum of their remainders when divided by 5 must be divisible by 5. The possible pairs of remainders are:

  • 0 + 0
  • 1 + 4
  • 2 + 3
  • 3 + 2
  • 4 + 1

Step 3: Count the number of ways to choose xx and yy for each pair of remainders.

  • Case 1: Both xx and yy are of the form 5λ5\lambda. There are 5 choices for xx. Since xx and yy must be distinct, there are 4 choices for yy. So, there are 5×4=205 \times 4 = 20 ways.

  • Case 2: xx is of the form 5λ+15\lambda + 1 and yy is of the form 5λ+45\lambda + 4. There are 5 choices for xx and 5 choices for yy. So, there are 5×5=255 \times 5 = 25 ways.

  • Case 3: xx is of the form 5λ+25\lambda + 2 and yy is of the form 5λ+35\lambda + 3. There are 5 choices for xx and 5 choices for yy. So, there are 5×5=255 \times 5 = 25 ways.

  • Case 4: xx is of the form 5λ+35\lambda + 3 and yy is of the form 5λ+25\lambda + 2. There are 5 choices for xx and 5 choices for yy. So, there are 5×5=255 \times 5 = 25 ways.

  • Case 5: xx is of the form 5λ+45\lambda + 4 and yy is of the form 5λ+15\lambda + 1. There are 5 choices for xx and 5 choices for yy. So, there are 5×5=255 \times 5 = 25 ways.

Step 4: Calculate the total number of ways.

The total number of ways is 20+25+25+25+25=12020 + 25 + 25 + 25 + 25 = 120.

Common Mistakes & Tips

  • Remember to account for the condition that xx and yy are distinct.
  • Be careful when counting the number of elements in each category.
  • Don't forget to consider all possible pairs of remainders that sum to a multiple of 5.

Summary

We categorized the integers from 1 to 25 based on their remainders when divided by 5. Then we found the pairs of remainders that sum to a multiple of 5. Finally, we counted the number of ways to choose xx and yy for each pair of remainders, remembering that xx and yy must be distinct. Summing the counts for each case gives the total number of ways.

The final answer is \boxed{120}.

Practice More Permutations & Combinations Questions

View All Questions