Learn R Programming

DescTools (version 0.99.30)

Divisors: Calculate Divisors

Description

Calculate divisors of positive natural numbers.

Usage

Divisors(x)

Arguments

x

integer number for which the divisors are to be returned

Value

an integer vector containg the divisors

See Also

Primes, IsPrime, GCD, LCM

Examples

Run this code
# NOT RUN {
Divisors(c(145, 786))
# }

Run the code above in your browser using DataLab