Skip to content

mihaiprodann/Collatz-Conjecture-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collatz Conjecture Website 🔍

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.

Features 🎉

  • 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.

Installation 🛠

Usage 📲

  • 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! 🚀

Collatz Conjecture info ℹ️

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

Live Preview 🔗

https://luxury-halva-a3bb22.netlify.app

You can check out the live preview of the website to see it in action.

About

Graphical visualization of Collatz's conjecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published