Q. Number of functions $f:\{1,2,\dots,100\}\to\{0,1\}$, that assign 1 to exactly one of the positive integers less than or equal to 98, is equal to ________.

Numerical Question

This is a numerical-answer question. The correct answer is shown below.

Explanation

[Solution by Dr. Abubacker] Choose the one integer among $1,\dots,98$ that maps to $1$: $98$ ways; all other integers $\le98$ map to $0$. The integers $99$ and $100$ may map to $0$ or $1$ freely: $2^2=4$ ways. Total $=98\times4=392$. Answer: 392.

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.

Want to attempt the full paper?
View Full Paper Take Full Paper Online