This repository contains tools for finding Otis primes, which are primes of the form (2^k - 3).
gcc find_mods.c -o find_mods
Ensure you have the GMP library installed on your system. You can install it using:
- Ubuntu/Debian:
sudo apt-get install libgmp-dev
- macOS (with Homebrew):
brew install gmp
- Windows: Download and install GMP from the official GMP website.
gcc find_primes.c -o find_primes -lgmp
./find_mods 1000
You can change the number 1000
to adjust the optimization level.
./find_primes 1000
You can change the number 1000
to find more Otis primes.
Note, the code is mostly black magic, I do not know how it works, but it does.