Q.
Let f(n) denote the square of the sum of the digits of natural number n & f2(n) denotes f(f(n)),f3(n) denotes f(f(f(n))) and so on, then the value of f2023(2021)−f2022(2021)f2021(2021)−f2020(2021) equals
2716
269
Relations and Functions - Part 2
Report Error
Solution:
Given f(n)= square of the sum of the digits of n f2(n)=f(f(n)),f3(n)=f(f(f(n))) and so on
Now f(2021)=(2+0+2+1)2=25 ∴f2(2021)=f(25)=49, f3(2021)=f(49)=(4+9)2=169 f4(2021)=f(169)=(1+6+9)2=256, f5(2021)=f(256)=(2+5+6)2=169
It is periodic function where f2n(2021)=256 & f2n+1(2021)=169∀n≥2 f2023(2021)−f2022(2021)f2021(2021)−f2020(2021) =169−256169−256=1