powered by
This function calculates the prime-factors of a number
prime.factor(n)
a vector with the prime factors
the number to be checked #'
prime.factor(21) prime.factor(100)
Run the code above in your browser using DataLab