Class 9 · Mathematics
Questions
1,196 questions
/
1–2 of 2 matchingj k to move · Enter to open
#QuestionType
852852.Write an algorithm prime() to check if is prime.(Hint: A prime number has exactly two distinct factors, 1 and . Can you make use of divisors() to write out prime()?)Ch 11 · The World of AlgorithmsmediumShort answer857857.Divisors occur in pairs. For instance, the divisors of 18 are (1, 18), (2, 9) and (3, 6).Ch 11 · The World of AlgorithmshardShort answer