Skip to content

Piunosei/lepore_sieve_4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

takes a number from input.txt

which is the minimum of the range defined by

#define interval_size 100 (i.e. see if 100 elements of the form 12*x+5 are prime [interval_size can also be increased])

and returns all primes of the form 12*x+5 in that range

I apologize if I didn't use dynamic memory allocation

paper theory at https://www.academia.edu/121400171/Sieve_of_Lepore_4_in_any_interval

Releases

No releases published

Packages

No packages published

Languages