Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

primality

Discover prime numbers without math

The purpose of this program is to demonstrate primality testing while performing the smallest amount of arithmatic possible. By Leveraging substring comparisons, and factorial shortcuts, a number can be determined as prime or composite while only actually performing a modulas with prime factorial seven.

Usage:

bash primality low_number high_number

About

Discover prime numbers without math

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages