Tags: modular-arithmetic 

Rating: 2.7

tl;dr

Euler totient function or Carmichael function