StreakPeaked· Practice

ExamsJEE AdvancedMaths

How many functions f: {1, 2, 3, 4} -> {5, 6, 7, 8} satisfy the condition that f(1) + f(2) + f(3) + f(4) is an odd number?

  1. 256
  2. 64
  3. 128
  4. 32

Correct answer: 128

Solution

Since exactly half of the values in {5,6,7,8} are odd and half even, by symmetry exactly half of all 4⁴ = 256 functions produce an odd sum, giving 128 functions.

Related JEE Advanced Maths questions

⚔️ Practice JEE Advanced Maths free + battle 1v1 →