Skip to content

Commit

Permalink
Updated README and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxai committed Nov 11, 2021
1 parent 3702cd4 commit 494bb3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
@@ -1,3 +1,19 @@
# friendly-numbers

As described on [Numberphile](https://www.youtube.com/watch?v=KZ1BVlURwfI), this script will attempt to find friendly numbers that match 10 (by default).
As described on [Numberphile](https://www.youtube.com/watch?v=KZ1BVlURwfI), this script will attempt to find friendly numbers for a given integer.

## Installation
Install the dependencies:

```python
pip3 install -r requirements.txt
```

## Usage
Update the `index_search` and `where_to_start` variables in the `friendly.py` file to appropriate values if you are not using the defaults, and then simply run:

```sh
python3 friendly.py
```

Progress will be reported on screen every 10,000 checks and written to a checkpoint file for easy resumption if the script is stopped for whatever reason.
1 change: 1 addition & 0 deletions requirements.txt
@@ -0,0 +1 @@
sympy

0 comments on commit 494bb3a

Please sign in to comment.