Copyright | Copyright (c) 2018 Vanessa McHale |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Numeric.NumberTheory
Description
This module provides fast number theoretic functions.
Documentation
littleOmega :: Int -> Int Source #
Number of distinct prime factors
sumDivisors :: Int -> Int Source #
Sum of proper divisors. May overflow.
radical :: Int -> Int Source #
Radical of an integer
\( \text{rad}(n) = \displaystyle\prod_{p | n} p \)
isSemiprime :: Int -> Bool Source #
Since: 0.6.5.0