https://github.com/leodog896/primeish
various prime utilities in a CLI
https://github.com/leodog896/primeish
cli number prime rust utilities
Last synced: about 2 months ago
JSON representation
various prime utilities in a CLI
- Host: GitHub
- URL: https://github.com/leodog896/primeish
- Owner: LeoDog896
- License: apache-2.0
- Created: 2023-07-07T14:45:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T20:45:55.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T14:47:51.246Z (2 months ago)
- Topics: cli, number, prime, rust, utilities
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# primeish
various prime utilities in a CLI```
cargo install primeish
``````sh
Usage: primeishCommands:
info Extract information from a number (factors, prev and next primes.)
is Check if a number is prime
factors Get the factors of a number
list List the first N prime numbers
nth Get the nth prime number
next Get the next prime number after a given number
previous Get the previous prime number before a given number
closest Get the closest prime number to a given number
help Print this message or the help of the given subcommand(s)Options:
-h, --help Print help
-V, --version Print version
```