fast-combinatorics-0.1.0.9: Fast combinatorics.

CopyrightCopyright (c) 2017 Vanessa McHale
Safe HaskellNone
LanguageHaskell2010

Numeric.NumberTheory

Description

 

Synopsis

Documentation

totient :: Int -> Int Source #

Euler totient function.

tau :: Int -> Int Source #

Number of distinct prime divisors.

totientSum :: Int -> Int Source #

[totient k | k <- [1 .. n]] in Haskell