Skip to main content

is_abundant

Function is_abundant 

Source
pub fn is_abundant(n: u64) -> bool
Expand description

Check if n is an abundant number: sum of proper divisors > n.

ยงExamples

use mathverse_core::integer::is_abundant;

assert!(is_abundant(12));