:factor(value)
This takes a value and returns an expression representing its prime factorization. Making the parameter 24 will return 2^3*3
, for example.
:factor(expression)
This factors an expression. The returned result will simplify to the supplied expression. It will involve complex numbers. To avoid complex numbers, you must use factor(.