Returns the prime factors of a number.
Number
// Returns the array [2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5]const factors = Chalkboard.numb.factors(1000000); Copy
// Returns the array [2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5]const factors = Chalkboard.numb.factors(1000000);
Generated using TypeDoc
Returns the prime factors of a number.