Question:

Let $x$ and $y$ be distinct integers where $1 \leq x \leq 25$ and $1 \leq y \leq 25$ Then, the number of ways of choosing $x$ and $y$, such that $x+y$ is divisible by 5 , is ____

Updated On: Mar 20, 2025
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 120

Approach Solution - 1

The correct answer is 120
x+y=5λ
Cases : 

xyNumber of ways 
20
5λ+15λ+425
5λ+25λ+325
5λ+35λ+225
5λ+45λ+125

\(\therefore\) Total number of ways are 120

Was this answer helpful?
2
9
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

1. Classify integers modulo 5: The integers from \( 1 \) to \( 25 \) can be grouped based on their residue modulo 5: \[ \{1, 2, 3, 4, 0\} \mod 5. \] Each residue class appears exactly \( 5 \) times (e.g., \( 1, 6, 11, 16, 21 \)). 2. Form pairs where \( x + y \equiv 0 \mod 5 \): For \( x + y \) to be divisible by 5, the residues of \( x \) and \( y \) must satisfy: \[ (x \mod 5) + (y \mod 5) \equiv 0 \mod 5. \] Valid pairs of residues are: \[ (0, 0), (1, 4), (2, 3), (3, 2), (4, 1). \] 3. Count the number of pairs for each case: - Each residue appears \( 5 \) times, so the number of ways to choose a pair for \( (0, 0) \) is: \[ \binom{5}{2} = 10. \] - For other cases, there are \( 5 \cdot 5 = 25 \) pairs for each combination. Total number of pairs: \[ 10 + 25 + 25 + 25 + 25 = 120. \]
Was this answer helpful?
0
0

Concepts Used:

Complex Number

A Complex Number is written in the form

a + ib

where,

  • “a” is a real number
  • “b” is an imaginary number

The Complex Number consists of a symbol “i” which satisfies the condition i^2 = −1. Complex Numbers are mentioned as the extension of one-dimensional number lines. In a complex plane, a Complex Number indicated as a + bi is usually represented in the form of the point (a, b). We have to pay attention that a Complex Number with absolutely no real part, such as – i, -5i, etc, is called purely imaginary. Also, a Complex Number with perfectly no imaginary part is known as a real number.