Skip to content

Praashoo7/Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme Image

How to Start?

The 3x + 1 conjecture is also known as the Collatz conjecture. The Collatz conjecture is one of the most famous unsolved problems in mathematics. The conjecture asks whether repeating two simple arithmetic operations will eventually transform every positive integer into 1.

Consider the following operation on an arbitrary positive integer:

  • If the number is even, divide it by two.
  • If the number is odd, triple it and add one.

Adding any number ends up in the 4-2-1 loop, always! Try it to see it!
You can try it with a Python code too.

Credits

License

Collatz-Conjecture is open-source Software Licensed under the MIT License