A simple website built with HTML, CSS, and JavaScript that allows users to explore the Collatz Conjecture by inputting a number and visualizing the steps of the conjecture through a graph.
- Input a number and see the steps of the Collatz Conjecture for that number.
- View a graph that illustrates the evolution of the results of the conjecture.
- Clone the repository to your local machine using the command git clone https://github.com/mihaiprodann/Collatz-Conjecture-Visualizer
- Open the index.html file in a web browser.
- Enter a number in the input field and press submit.
- The website will display the steps of the Collatz Conjecture for the inputted number.
- The graph will illustrate the evolution of the results of the conjecture.
The Collatz Conjecture is a complex problem that has puzzled mathematicians for decades. With this website, you can explore the conjecture in an interactive and visual way. Give it a try and discover something new! 🚀
The Collatz Conjecture is a mathematical problem that proposes a simple process that is applied to any positive integer, regardless of its value. The conjecture states that if we start with any positive integer and repeat the following process, we will eventually reach the number 1: if the number is even, divide it by 2, and if the number is odd, multiply it by 3 and add 1. The conjecture was first proposed by German mathematician Lothar Collatz in 1937. Despite much effort by mathematicians, a proof or counterexample has yet to be found, making it one of the most famous unsolved problems in mathematics.
The formula for the Collatz Conjecture can be written as:
if n is even:
n = n/2
else:
n = 3n + 1
https://luxury-halva-a3bb22.netlify.app
You can check out the live preview of the website to see it in action.