divisors | R Documentation |
Generating all possible divisor combination of certain length for a given positive integer.
divisors(x, d)
x |
A positive integer. |
d |
A vector of positive integers whose length is the length of divisor combination and each value sets the maximum of each divisor. |
A matrix with each row representing a divisor combination.
divisors(6, c(20,20));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.