An open API service indexing awesome lists of open source software.

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.

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