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.