sieve_of_eratosthenes: Sieve of Eratosthenes

Description Usage Arguments Value Examples

View source: R/sieve_of_eratosthenes.R

Description

Get all prime numbers between 2 and n.

Usage

1

Arguments

n

The upper limit of the region that is searched for primes.

Value

A vector of the primes between 2 and n.

Examples

1

BastiHz/numberphile documentation built on Oct. 12, 2020, 6:03 p.m.