Skip to content

Aaronphilip2003/Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Collatz-Conjecture

output_Collatz

The Collatz conjecture is a conjecture in mathematics that concerns sequences defined as follows: start with any positive integer n. Then each term is obtained from the previous term as follows: if the previous term is even, the next term is one half of the previous term. If the previous term is odd, the next term is 3 times the previous term plus 1. The conjecture is that no matter what value of n, the sequence will always reach 1.

The above example is for the number (n) : 19907.

For more information about this conjecture please visit: https://en.wikipedia.org/wiki/Collatz_conjecture
This is a video by a YouTuber called Veritasium which beautifully explains this conjecture: https://youtu.be/094y1Z2wpJg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages