+ 2

Fastest prime number finder

Hi this is my code to find prime numbers between 1 to 100,000 https://code.sololearn.com/cQcZl01eH8hi/?ref=app

27th Jan 2020, 9:46 PM
Artemis Ariamehr
Artemis Ariamehr - avatar
3 ответов
+ 8
Artemis Ariamehr there is a rule that says: To check if a number is prime, it is enough to check that it is not divisible by all the prime numbers less than or equal to his square root.
27th Jan 2020, 9:57 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 5
Do you have a question about your code ? If you have no problem then please post this in one or all 3 threads... Thanks and happy coding
27th Jan 2020, 10:00 PM
BroFar
BroFar - avatar
+ 2
Mirielle🐶 can you send me thats code
27th Jan 2020, 10:02 PM
Artemis Ariamehr
Artemis Ariamehr - avatar