Anonymous user
Semiprime: Difference between revisions
m
added whitespace, added a Task and example (bold) headers.
m (added whitespace to the task's preamble.) |
m (added whitespace, added a Task and example (bold) headers.) |
||
Line 3:
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]). ▼
;Example:
1679 = 23 × 73
▲
;Task;
Write a function determining whether a given number is semiprime.
<br><br>
|