ทดลองแก้ๆๆๆ f ( n ) = { n / 2 , if n is even 3 n + 1 , if n is odd {\displaystyle f(n)={\begin{cases}n/2,&{\mbox{if }}n{\mbox{ is even}}\\3n+1,&{\mbox{if }}n{\mbox{ is odd}}\end{cases}}}