public int mystery (int k ) 
{ 
 
    if ( k ==1 ) return 0; 
 
    else return ( 1 + mystery(k/2) );
}


the answer is 4, but I really don't understand how....anybody care to explain why this is?