Prime number problems

Правка en1, от Lord_David, 2021-08-14 18:21:49

So I've got a question about problems that need prime numbers. How are you meant to approach them? More specifically, how do you approach problems that require you to calculate prime numbers and do something with them? Do you implement/copy paste something like the sieve of Eratosthenes every time or is there a better method? Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Lord_David 2021-08-14 18:22:39 20
en1 Английский Lord_David 2021-08-14 18:21:49 369 Initial revision (published)