Skip to content

PrimeFactors ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

Return the sorted list of distinct prime factors of an integer n. The sign of n is ignored; PrimeFactors(1) is the empty list.

PrimeFactors(integer) -> list<integer>as compute-engine declares it
Typed signatures
TypePackageApplies
(integer) -> list<integer>compute-enginealways

Domain: Compute engine

About