erastosthenesSieve | R Documentation |
erastosthenesSieve
calculates the all prime numbers up till given
limit.
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes for more
info about how it works.
erastosthenesSieve(limit)
limit |
Calculation limit |
A list containing all prime numbers
Fazendaaa
Fazendaaa
erastosthenesSieve(100) erastosthenesSieve(200) erastosthenesSieve(300)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.