Sign in
Please select an account to continue using cracku.in
↓ →
Join Our JEE Preparation Group
Prep with like-minded aspirants; Get access to free daily tests and study material.
A function is defined on the set of positive integers such that if $$π$$ is an odd integer, $$π(π) = π β 1$$ and if $$π$$ is an even integer, $$π(π) = n^{2} - 1$$. Determine the sum of all possible values of π such that $$π(π(π)) = 99$$.
Correct Answer: 11
First write the definition of the function.
If $$n$$ is odd, $$f(n)=n-1$$ (which is even).
If $$n$$ is even, $$f(n)=n^{2}-1$$ (which is odd).
We want all positive integers $$n$$ for which $$f(f(n))=99$$.
CaseΒ 1:$$n$$ is odd.
Then $$f(n)=n-1$$ (even).
Apply $$f$$ again: $$f(f(n))=(n-1)^{2}-1$$ because the input is now even.
Set equal to $$99$$:
$$(n-1)^{2}-1 = 99 \;\;\Longrightarrow\;\; (n-1)^{2}=100 \;\;\Longrightarrow\;\; n-1=\pm10.$$
Since $$n$$ must be positive, $$n-1=10$$ gives $$n=11$$, while $$n-1=-10$$ gives the negative integer $$n=-9$$, which is rejected. Hence the only solution in this case is $$n=11$$.
CaseΒ 2:$$n$$ is even.
Then $$f(n)=n^{2}-1$$ (odd).
Apply $$f$$ again: $$f(f(n))=(n^{2}-1)-1 = n^{2}-2.$$
Set equal to $$99$$:
$$n^{2}-2 = 99 \;\;\Longrightarrow\;\; n^{2}=101.$$
But $$101$$ is not a perfect square, so there is no even integer $$n$$ satisfying the equation.
Combining both cases, the only valid positive integer is $$n=11$$.
Required sum of all possible values of $$n$$ = $$11$$.
Answer: 11
Click on the Email βοΈ to Watch the Video Solution
Predict your JEE Main percentile, rank & performance in seconds
Educational materials for JEE preparation