Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What defines a prime number?
Think about the definition and the number of divisors.
Is the number 4 prime or composite?
Consider the divisors of 4.
What is a prime number?
Recall the definition of a prime number.
The naive algorithm for primality testing uses which of the following methods?
Think about how we identify potential factors.
Apply the naive algorithm to test whether 49 is a prime number. Show your steps.
What numbers will you check against 49?
How many checks would you need to determine if 101 is prime using the naive method?
Determine how many divisors you check.
6 more questions in this section. Enroll free to practise them all.
Enroll free