Vocabularymath.
primes.
factorsInputsOutputsWord descriptionReturn a sequence of pairs representing each prime factor in the number and its corresponding power (multiplicity).
ExamplesUSING: math.primes.factors prettyprint ;
300 group-factors .
{ { 2 2 } { 3 1 } { 5 2 } }
See alsodivisors,
factors,
unique-factorsDefinition