This is the javadoc for hailstone sequence