Euler's totient function

Home > Mathematics > Number theory > Fermat's little theorem > Euler's totient function

A function that returns the number of positive integers less than or equal to a number and relatively prime to it.