MuriloMir / Fermat-primality-test

A software which runs the Fermat's Primality Test to tell if a number is prime in a very fast way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fermat-primality-test

This is a software which runs the Fermat's Primality Test to tell if a number is prime in a very fast way.

Just compile it with "dmd fermatPrimalityTest -m64 -O -g", run it and then type the number you want to check, it is much faster than checking by trial division.

About

A software which runs the Fermat's Primality Test to tell if a number is prime in a very fast way.

License:MIT License


Languages

Language:D 100.0%