https://github.com/niweera/fermatslibrary
A repository of programs to prove or disprove the things said in Fermat's Library.
https://github.com/niweera/fermatslibrary
fermat javascript
Last synced: 3 months ago
JSON representation
A repository of programs to prove or disprove the things said in Fermat's Library.
- Host: GitHub
- URL: https://github.com/niweera/fermatslibrary
- Owner: Niweera
- License: gpl-3.0
- Created: 2019-05-16T12:55:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-17T13:08:08.000Z (about 7 years ago)
- Last Synced: 2025-06-04T22:13:53.103Z (about 1 year ago)
- Topics: fermat, javascript
- Language: Python
- Size: 52.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Fermat's Library](https://fermatslibrary.com/)
The programs in this repo are tests to prove or disprove mathematical theorems.
## 1. primerp^p
The program to check if there is a prime number except 3 which will result a prime number when (prime ^ prime + 2).
$ node primerp^p.js
or
$ python primerp^p.py
Example:
$ python primerp^p.py 100
primerp^p.py uses [Sympy](https://www.sympy.org/en/index.html). Before running the script make sure to install Sympy library.
$ pip install sympy