primes_in: Finds prime numbers in a range of integers.

Description Usage Arguments Value

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. primes_in(1, 20) primes_in(5, 40)


FemkeThon/Sandboxy documentation built on May 6, 2019, 4:36 p.m.