Description Usage Arguments Value Source Examples
Sieve of Eratosthenes for generating primes 2:n
1 | esieve(n)
|
n |
An integer. Find all primes below this number. |
A vector of integers
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
1 | euler:::esieve(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.