Output will be 3.
In the first iteration n= 13 so return 1+ f(13/6)
In the 2nd iteration n = 6 so return f(3)
In the 3rd iteration n= 3 so return 1 + f(3/2)
In the 4th iteration n = 2 so return f(2/1)
In the 5th iteration n= 1 so return 1+ f(1/2)
In the 6th iteration n=0 so return 0
Hence finally return = 1 + 1+1 = 3
So, result= 3
So , 3 will be output of the program.