質因數
Syntax
f = factor(n)
Description
f = factor(n) 回傳 n 的所有質因數。
n
Examples
f = factor(123) f = 3 41
See Also
isprime, primes
isprime
primes