Mathematics (JEE)Very hardJEE Advanced
The number of functions f: {1, 2, 3, 4, 5} → {1, 2, 3, 4} for which f(1) + f(2) + f(3) + f(4) + f(5) is divisible by 3 is:
- A. 342
- B. 341
- C. 340
- D. 333
Correct answer: B. 341
Using the cube-root-of-unity filter, the count is (4⁵ + (1 + 2ω + ω²)⁵ + (1 + 2ω² + ω)⁵)/3. Here 1 + 2ω + ω² = ω and 1 + 2ω² + ω = ω², so the terms are ω⁵ + ω¹⁰ = −1, giving (1024 − 1)/3 = 341.
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- The number of subsets of {1, 2, …, 9} (the empty set included) whose elements add up to a multiple of 3 is:
- The number of real solutions of x² − 4[x] + 3 = 0, where [x] is the greatest integer ≤ x, is:
- The number of ordered pairs (S, T) of disjoint subsets of {1, 2, …, 10} with |S| = |T| is:
- The number of functions f: {1, 2, 3, 4, 5, 6} → {1, 2, 3, 4, 5, 6} that satisfy f(f(x)) = x for every x (involutions, including the…
- If n(A) = 20, n(B) = 15 and n(A ∩ B) = 8, then n(A ∪ B) is:
- The number of proper subsets of a set with 5 elements is: