Skip to content

Calculate a set amount of prime numbers between two set integers via randomness.

License

Notifications You must be signed in to change notification settings

shadow1Python/PrimeNumberGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PrimeNumberGen

Calculate a set amount of prime numbers between two set integers via randomness.

Note: You can change the variable max and variable min for the two integers tho it isn't recommended as you'll need to change the randomization code and while loop likely.

Note 2: It's a console java app so you'll be asked to provide how many prime numbers to generate, the code will then generate random numbers, if it's prime then the check is passed and it'll repeat until the set number of primes is acheived.

Note 3: After testing there seems to be a 4% chance of getting a prime number.

LICENSE Mit license is linked with this repository, please follow all conditions provided.

About

Calculate a set amount of prime numbers between two set integers via randomness.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages