hailstone numbers

computes whether a given number is a hailstone number. a hailstone number is a number that returns to 1 when put through a simple algorithm: if even halve, if odd x3 +1. the output is put back through the algorithm. so 5: 16,8,4,2,1. enjoy.

Tags: hail, stone, numbr, numbers, math

Download
Released 2011-12-31
Category Other
Rating 0.0 (by 0 users)
Downloads 4
Version 1
ID 191937
Slug hailstone-numbers