An interactive python based program for hailstone sequence calculation, the numbers that increase and decrease but eventually settles into a repeating pattern of the numbers 4, 2, 1. The sequence is generated by starting with any positive whole number greater than zero. Also plot graphs which reveals the true beauty of conjecture
math graph python3 numbers matplotlib numerical-analysis collatz-conjecture hailstone-series pyplot python-math collatz-problem calculation-programs matplotlib-animation collatz-algorithm hailstone-numbers hailstone-sequence
-
Updated
Oct 8, 2022 - Python