Learn R Programming

pnf (version 0.1.1)

factorize: Complete Prime Factorization

Description

Given an integer m (or an object that can be coerced to an integer), which is not prime and is two or greater, returns a matrix with two columns. The first column gives the factors and the second column gives the multiplicities.

Usage

factorize (m)

Arguments

m
An integer as described above.

Examples

Run this code
#completely factorize the number 229075
factorize (229075)

Run the code above in your browser using DataLab