Let x and y be distinct integers where and . Then, the number of ways of choosing x and y, such that is divisible by 5, is ______.
Answer: 120
Solution
Splitting to by remainder on division by gives five classes of five numbers each. For to be a multiple of with , the ordered pairs come from residues , , , and . The class contributes ordered pairs, and each of the other four contributes , giving .
JEE Main · 2023 · 25 Jan 2023 · Shift 1 · Integer answer