Skip to content

A fun and quick C# console application I made that takes a number given by the user and implements the Collatz Conjecture. It prints out the calculations and also calculates and prints a few other statistics to see how they vary as numbers get larger/smaller. Inspiration: https://imgs.xkcd.com/comics/collatz_conjecture.png

Notifications You must be signed in to change notification settings

CannoliSquid/C-Sharp-Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

C-Sharp-Collatz-Conjecture

A fun and quick C# console application I made that takes a number given by the user and implements the Collatz Conjecture. It prints out the calculations and also calculates and prints a few other statistics to see how they vary as numbers get larger/smaller. Uses 32-bit integers, so large numbers will break it. Can easily be modified to handle 64-bit.

Inspiration: https://imgs.xkcd.com/comics/collatz_conjecture.png

About

A fun and quick C# console application I made that takes a number given by the user and implements the Collatz Conjecture. It prints out the calculations and also calculates and prints a few other statistics to see how they vary as numbers get larger/smaller. Inspiration: https://imgs.xkcd.com/comics/collatz_conjecture.png

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages