A function f from integers to integers is defined as f(x)={n+3,nϵoddn2nϵeven . Suppose kϵ odd and f(f(f(k)))=27, then the sum of digits of k is
A
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
6
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
9
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
12
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B6 Since k is odd, f(k)=k+3 Now k+3 is even. Hence f(f(k))=k+32. Now k+3 is always divisible by 4 for all kϵoddnumber. Hence k+32 is even. Then f(f(f(k)))=k+34 =27 k+3=108 k=105 Hence sum of the digits is 6.