3n+1 solution