S(x)=3x+1