Divisors | R Documentation |
Compute a vector containing all divisors of a non-zero whole number in natural order.
Divisors(x)
x |
A non-zero whole number. |
Checking every number between 1 and x to divide x evenly.
Sorted vector with all divisors of x.
Julian Maerte
Divisors(200) # 1 2 4 5 8 10 20 25 40 50 100 200
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.