chickadee » math » prime-divisors

prime-divisors zprocedure
z
integer

Returns a list of all positive prime divisors of the integer z. The divisors appear in ascending order.

> (prime-divisors 120)
'(2 3 5)