Skip to main content

unique_prime_factors

Function unique_prime_factors 

pub fn unique_prime_factors(n: u64) -> Vec<u64>
Expand description

Returns the unique prime factors of n in ascending order.

0 and 1 return an empty vector in this crate.