Skip to content

Simply put, this program is a primality test program, it tests whether a number you input is prime or not using one of today's most modern efficient methods of primality testing: miller's test.

Notifications You must be signed in to change notification settings

faycalki/primality_test_using_millers_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Logo of the project

The Primes Computation program using Miller's Test

This program is built upon the concept of Miller's test and uses a completely bias-free method to provide accurate probabilistic chances of primes passing the test, an efficient primality test limited by Python's slow interpreter speeds, as well as the lack of multicore processing and multithreading which I may add at one point.

Simply put, this program is a primality test program, it tests whether a number you input is prime or not using one of today's most modern efficient methods of primality testing -- the miller's test.

Installing / Getting started

Python Interpreter 3+ is required in order to compile the code, you may build this into an executable through other means if you wish. Standard compilation is all that is needed.

python primality_test_main.py

Once the code is executed, follow the instructions on the screen.

Developing

git clone https://github.com/faycalki/primality_test_using_millers_test.git

Features

  • Efficiently checks for primality with customizeable amount of integers to check against for the sake of speed.
  • Bias free probabilistic chance for primality passing the test, also computes the chance of it passing the test.
  • Minimal dependencies.
  • Can be implemented as a fully modular program with minimal editing, built as a function.

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Links

Licensing

The code in this project is licensed under the GNU General Public License v3.0.

Disclaimer

This project is intended to be used for legal purposes only, and is pursuant to the license terms and conditions provided.

About

Simply put, this program is a primality test program, it tests whether a number you input is prime or not using one of today's most modern efficient methods of primality testing: miller's test.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages