Better Experience Download iQuanta App

Google Play
App Store
iQuanta Logo

18.cat 2024 paper slot 2 qa

CAT 2024

A function f maps the set of natural numbers to whole numbers, such that f(xy) = f(x) f(y) + f(x) + f(y) for all x , y and f(p) = 1 for every prime number p. Then, the value of f(160000) is

A.4095
B.1023
C.2047
D.8191

Correct Answer

4095

Detailed Explanation

f(16000)=f(28×54) f(16000)=f\left(2^8 \times 5^4\right) It is given that f(p)=1\mathrm{f}(\mathrm{p})=1 for any prime number p . F(p2)=f(p)f(p)+f(p)+f(p)=1+1+1=3f(p3)=f(p2)+f(p)+f(p2)+f(p)=3+3+1=7 \begin{aligned} & \mathrm{F}\left(\mathrm{p}^2\right)=\mathrm{f}(\mathrm{p}) \mathrm{f}(\mathrm{p})+\mathrm{f}(\mathrm{p})+\mathrm{f}(\mathrm{p})=1+1+1=3 \\ & \mathrm{f}\left(\mathrm{p}^3\right)=\mathrm{f}\left(\mathrm{p}^2\right)+\mathrm{f}(\mathrm{p})+\mathrm{f}\left(\mathrm{p}^2\right)+\mathrm{f}(\mathrm{p})=3+3+1=7 \end{aligned} Similarly, f(p4)=7+7+1=15f(p5)=15+15+1=31f(p6)=31+31+1=63f(p7)63+63+1=127f(p8)=127+127+1=255 \begin{aligned} & f\left(p^4\right)=7+7+1=15 \\ & f\left(p^5\right)=15+15+1=31 \\ & f\left(p^6\right)=31+31+1=63 \\ & f\left(p^7\right) 63+63+1=127 \\ & f\left(p^8\right)=127+127+1=255 \end{aligned} Now, f(16000)=f(28×54)=f(28)f(54)+f(28)+f(54)f(28×54)=(255×15)+255+15=4095 \begin{aligned} \mathrm{f}(16000)= & \mathrm{f}\left(2^8 \times 5^4\right)=f\left(2^8\right) f\left(5^4\right)+f\left(2^8\right)+f\left(5^4\right) \\ & f\left(2^8 \times 5^4\right)=(255 \times 15)+255+15=4095 \end{aligned} Hence, 4095 is the required answer.

Video Solution