Skip to content

Input random number. If number is even, divide by 2. Else mulitply by 3 and add 1.

Notifications You must be signed in to change notification settings

JoshMilli/3xMethod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

3xMethod

Input random number. If number is even, divide by 2. Else mulitply by 3 and add 1.

A nice pattern in formed as the end result will always go back to 1

About

Input random number. If number is even, divide by 2. Else mulitply by 3 and add 1.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages