primes | R Documentation |
Computes the prime factorization of a composite number.
prime.factorization(x)
x |
length-1 numeric. |
As a side effect, tests for primality using a naive approach.
A matrix of prime factors in the first column and powers in the second.
(x <- 8*9*25*7*11)
prime.factorization(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.