-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julio Jimenez <[email protected]>
- Loading branch information
1 parent
a182fee
commit 50fd45a
Showing
2 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
# kaprekar | ||
Finding Kaprekar Constants using a recursive Kaprekar's Routine algorithm (brute force). | ||
|
||
Generates Kaprekar constants and series. | ||
|
||
## Usage | ||
|
||
```bash | ||
Usage: kaprekar [OPTIONS] | ||
|
||
Options: | ||
-n, --number <NUMBER> Perform Kaprekar's routine on a number [default: 0] | ||
-s, --start <START> Perform Kaprekar's routine starting from a number [default: 0] | ||
-e, --end <END> Perform Kaprekar's routine up to a number [default: 0] | ||
-a, --all Perform Kaprekar's routine on all numbers | ||
-i, --iterations <ITERATIONS> Number of iterations to perform [default: 20] | ||
-t, --truncate Empty out non-series and non-constant vectors. | ||
-o, --output <OUTPUT> Output the results to a csv file | ||
-c, --cont <CONT> Continue adding results to an existing csv file | ||
-v, --verbose Print the Kaprekar routine | ||
--symlink Create a symlink in /usr/local/bin | ||
-h, --help Print help | ||
-V, --version Print version | ||
``` | ||
|
||
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters