Skip to content

Itsmemonzu/Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Collatz-Conjecture

A simple math problem even greatest mathematicians couldn't solve.

Inspiration taken from this video

How does it work?

The algorithm follows two rules.

  • If the given number is even, divide the number by 2.
  • If the given number is odd, multiply the number by 3 and add 1 to it. This goes on and on until it eventually reaches 1.

Resources

About

A simple math program even greatest mathematicians couldn't solve.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages