Number of functions , that assign 1 to exactly one of the positive integers less than or equal to 98 , is equal to ____.
Answer: 392
Solution
A function assigning 1 to exactly one element of is built in three independent steps.
Choose which single element of maps to 1: 98 ways. All the remaining elements of are then forced to map to 0 (only 1 way).
The elements 99 and 100 lie outside the restricted set, so each can independently map to 0 or 1: ways.
Multiplying these independent choices:


Choose which single element of maps to 1: 98 ways. All the remaining elements of are then forced to map to 0 (only 1 way).
The elements 99 and 100 lie outside the restricted set, so each can independently map to 0 or 1: ways.
Multiplying these independent choices:


JEE Main · 2025 · 24 Jan 2025 · Shift 2 · Integer answer