Skip to content
Embercode
✕
Number theoryQuick quiz

CRT, totient and Fermat

8 questions. Covers Fermat and Euler in practice.

Questions 1 to 5 of 8

  1. 1. Two conditions are x ≡ 2 (mod 4) and x ≡ 3 (mod 6). Which statement is correct?
  2. 2. What is Euler's totient phi(360)?

    Type a number.

  3. 3. Which statements about Euler's totient are true?

    Pick every answer that is true.

  4. 4. An AI wrote result = result * (p - 1) / p; to compute phi of the prime 999999999989. Why is this wrong?
  5. 5. What is phi(1000000007), where 1000000007 is prime? Give the number.

    Type a number.

5 question(s) left on this page.

Typed answers ignore extra spaces and, for most questions, capital letters.