Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.
Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.
Number of functions $f:\{1,2, \ldots, 100\} \rightarrow\{0,1\}$, that assign 1 to exactly one of the positive integers less than or equal to 98 , is equal to ________.
Step 1: The value 1 must occur at exactly one of the first 98 inputs, giving 98 choices.
Step 2: The values at inputs 99 and 100 are unrestricted; each has two choices, for 2² assignments.
Step 3: There are 98·4=392 functions.
Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.
Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.