Basic Number Theory + Euler Phi function