+0  
 
0
71
1
avatar

For an integer n, let

f(n) = n/2 + 1 if n is even

f(n) = 3n - 1 if n is odd

 

Find f(f(f(f(12)))).

 Jul 23, 2022
 #1
avatar+124674 
+1

f(12) =  12/2 + 1 =  7

f(f(12))  = f(7)  = 3(7)  -1 =  20

f(f(f(12))) = f(20) = 20/2 + 1 = 11

f(f(f(f(12)))) = f (11) = 3(11) - 1 =   32

 

cool cool cool

 Jul 23, 2022

4 Online Users

avatar
avatar