Question
Quantitative Aptitude Question on Functions
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
4095
8191
2047
1023
4095
Solution
Let's analyze the given functional equation: f(xy)=f(x)f(y)+f(x)+f(y).
The function satisfies the equation:
f(xy+1)=(f(x)+1)(f(y)+1).
Now, let's factorize 160000 into prime factors:
160000=26×55
Using the given functional equation, we can calculate: f(160000). The equation is:
f(160000)=f(26)⋅f(55)+f(26)+f(55)
We can further break down f(26) and f(55) using the functional equation:
f(26)=f(2)⋅f(25)+f(2)+f(25)
f(55)=f(5)⋅f(54)+f(5)+f(54)
We can continue this process until we express f(160000) in terms of f(2) and f(5). Since 2 and 5 are prime numbers, f(2)=1 and f(5)=1.
After substituting these values and simplifying, we will get: f(160000)=4095.
Therefore, the value of f(160000) is 4095.