Semiprime: Difference between revisions

Add to category Prime Numbers
(→‎version 1: Make sure that factr is not called illegally)
(Add to category Prime Numbers)
Line 1:
{{task|SemiprimePrime Numbers}} Semiprime numbers are natural numbers that are products of exactly two (possibly equal) [[prime_number|prime numbers]]. Example: 1679 = 23 × 73 (This particular number was chosen as the length of the [http://en.wikipedia.org/wiki/Arecibo_message Arecibo message]).
 
Write a function determining whether a given number is semiprime.
Anonymous user