https://github.com/parithiban/collatzpattern
Collatz Conjecture Pattern
https://github.com/parithiban/collatzpattern
Last synced: 19 days ago
JSON representation
Collatz Conjecture Pattern
- Host: GitHub
- URL: https://github.com/parithiban/collatzpattern
- Owner: parithiban
- License: mit
- Created: 2021-12-12T18:35:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-05T10:15:12.000Z (about 4 years ago)
- Last Synced: 2024-06-21T02:25:29.150Z (almost 2 years ago)
- Language: Go
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Collatz Conjecture Pattern
This is to calculate a sequence of numbers that follows the Collatz Conjecture.
## Install & Execute
```shell
go install github.com/parithiban/collatzpattern@v1.0.0
cd $GOPATH/bin && ./collatzpattern
```
## Execution Time
```shell
parthiban@C02DP2C8ML85 ~/mygit/collatz-conjecture-pattern main ● ./main
Enter the number: 100000000
The longest chain is 947 and the number is 63728127
Total Execution time 6082 ms
```