35 lines
852 B
Markdown
35 lines
852 B
Markdown
|
|
# Rust 3x+1
|
|
|
|
Simple tool to brute force 3x+1 for a second loop. Only takes positive numbers.
|
|
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
USAGE:
|
|
rust-3xp1.exe [OPTIONS]
|
|
|
|
OPTIONS:
|
|
-c, --count <COUNT> Number of times to try [default: 50000]
|
|
-d, --double-verbose Weather to output current number every step of 3x+1
|
|
-h, --help Print help information
|
|
-s, --start <START> Number to start at [default: 195147905179352825856]
|
|
-v, --verbose Weather to output current number each time
|
|
-V, --version Print version information
|
|
```
|
|
|
|
|
|
## Demo
|
|
|
|

|
|
## FAQ
|
|
|
|
#### What is 3x+1?
|
|
|
|
check out [this](https://youtu.be/094y1Z2wpJg) viceo by Veritasium
|
|
|
|
#### Why?
|
|
|
|
This hasn't left my brain since I saw the video, I wanted to mess around with a tool to brute force for a new loop.
|
|
|