primes_in: Finds prime numbers in a range of integers.

Description Usage Arguments Value Examples

View source: R/primes_in.R

Description

Finds prime numbers in a range of integers.

Usage

1
primes_in(x, y)

Arguments

x

a positive integer (or 0)

y

a positive integer, higher than or equal to X.

Value

a list of the primes that are found between (and including) numbers X to Y.

Examples

1
2
primes_in(1, 20)
primes_in(5, 40)

JolienGay/Notities documentation built on May 7, 2019, 12:03 p.m.