Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does Fermat's Little Theorem state for prime p?
Think about the relationship between primes and modular arithmetic.
Provide an example of a Carmichael number.
Carmichael numbers are always composite.
According to Fermat's Little Theorem, if p is prime and a is coprime to p, what is true?
Recall the main statement of the theorem.
Are Carmichael numbers always prime?
Think of their definition and characteristics.
Prove that 341 is a Carmichael number using Fermat's test for a random base.
Pick bases carefully that are less than `341`.
Create a detailed algorithm that efficiently uses Fermat's theorem to compute a^b mod p, explaining each step.
Think about employing the divide-and-conquer strategy!
5 more questions in this section. Enroll free to practise them all.
Enroll free