Prime number problems

Revision en1, by 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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Lord_David 2021-08-14 18:22:39 20
en1 English Lord_David 2021-08-14 18:21:49 369 Initial revision (published)