Skip to content

jinsooihm/miller-rabin-primality-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Miller Rabin Primality Test

Simple program to run Miller Rabin Primality test. Just import it from interpreter and run the function is_prime. is_prime(n, num_trials) checks if n is a prime in num_trials trials, resulting in 1-(0.25^num_trials) probability of guessing correctly.

About

Simple program to run Miller-Rabin primality test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages