Skip to content

PiggyAwesome/Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Collatz-Conjecture

Python program for testing if a number obeys the Collatz Conjecture (3N + 1). Program made by @bluwo and @PiggyAwesome (Me).

Step 1:

Install requests: pip3 install requests

Step 2:

Run the program. python3 program.py

Step 3:

Enter your number that you want to test, and press enter. image

Result:

The program will output the numbers.

image

It will also show you a graph.

image

Read more about 3N + 1: https://en.wikipedia.org/wiki/Collatz_conjecture

About

Python program for testing if a number obeys the Collatz Conjecture. (3N + 1)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages