IntelliJ + 3n+1 problem