paradoxpj / Codes-and-Programs

This Repository contains codes for various Algorithm and Data Structures. Feel free to contribute.
4 stars 12 forks source link

euler_totient_function.cpp #35

Closed Anuj-T closed 3 years ago

Anuj-T commented 4 years ago

Euler's totient function, also known as phi-function ϕ(n), counts the number of integers between 1 and n inclusive, which are co prime to n.