Skip to content

Search AllRounder.ai

Search your courses, subjects, tracks, games and features, or jump straight to a page.

Enrol to start learning

Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.

Enrol free

12.5.1. Example of a Carmichael Number (561)

  • This section

    Practice test

    11 questions on this section. Wrong answers show you what to read again.

    Sign up to take it
  • Whole chapter

    Revision test

    Mixed questions from across the chapter. Your answers get marked.

    Sign up to take it
  • Quick

    Flashcard drill

    3 cards from this lesson. Good the night before a test.

Try these first

  1. 1.

    State Fermat's Little Theorem.

    Hint

    Think about the relation between primes and modular arithmetic.

  2. 2.

    What is an example of a Carmichael number?

    Hint

    Recall that it misleads primality tests while being composite.

  3. 3.

    What does Fermat's Little Theorem state?

    • If p is prime
    • then a^p ≡ 0 (mod p)
    • If p is prime
    • then a^(p-1) ≡ 1 (mod p)
    • If a is even
    • a^2 is even
    Hint

    Remember the key formula in the theorem.

  4. 4.

    Is 561 a prime number?

    • True
    • False
    Hint

    Recollect the definition of prime numbers.

  5. 5.

    Prove that if a number n satisfies b^(n-1) ≡ 1 for all bases b co-prime to n, then n is a Carmichael number.

    Hint

    Use the prime factorization of n and analyze the implications for all bases.

  6. 6.

    In a practical application, explain how one could modify a basic primality test to take Carmichael numbers into account.

    Hint

    Consider the diversity of bases used in testing.

Exercises

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting

4 more questions available

Enrol free

Quiz

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting

1 more question available

Enrol free

Challenge Problems

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting