MathCastle
Number TheoryEasyFermat, Euler and Wilson

Fermat, Euler and Wilson · Easy problem

The number 3131 is prime. How many integers from 11 to 3131 are relatively prime to 3131? That is, compute φ(31)\varphi(31).