Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

PRIMEFACTORS function

Description

PRIMEFACTORS(x) returns a vector containing the prime factors of x.

Prime factorization is the decomposition of a number into a product of smaller integers.

The argument x of the PRIMEFACTORS function must be a positive integer not larger than 10000000000000 (1013).

Examples

PRIMEFACTORS(140) returns {2|2|5|7}

Calculator

PRIMEFACTORS(  

Related functions

External links