Write a program to find prime numbers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a program to find prime numbers?

step by step solution

17th Jan 2018, 8:48 AM
Rakesh Kumar
Rakesh Kumar - avatar
3 Answers
+ 2
You could try the Sieve of Eratosthenes. https://en.m.wikipedia.org/wiki/Sieve_of_Eratosthenes
17th Jan 2018, 9:01 AM
blackcat1111
blackcat1111 - avatar
+ 2
https://code.sololearn.com/cA6u2UCBXXPs/#
17th Jan 2018, 9:32 AM
Oleg «0RaKlE19» Kolodka
Oleg «0RaKlE19» Kolodka - avatar
0
jabafabaduuuuuuuu
19th Jan 2018, 8:12 PM
ddd