Factors of an integer: Difference between revisions

m
added whitespace before the TOC (table of contents), added a ;Task: and 'Related task: (bold) headers, added other whitespace and highlighting to the task's preamble.
No edit summary
m (added whitespace before the TOC (table of contents), added a ;Task: and 'Related task: (bold) headers, added other whitespace and highlighting to the task's preamble.)
Line 1:
{{Task|Basic language learning}} {{basic data operation}}
{{basic data operation}}
[[Category:Arithmetic operations]]
[[Category:Mathematical_operations]]
 
Compute the [[wp:Divisor|factors]] of a positive integer.
;Task:
Compute the   [[wp:Divisor|factors]]   of a positive integer.
 
These factors are the positive integers by which the number being factored can be divided to yield a positive integer result.
(Though the concepts function correctly for zero and negative integers, the set of factors of zero has countably infinite members, and the factors of negative integers can be obtained from the factors of related positive numbers without difficulty; this task does not require handling of either of these cases).
Note that every prime number has two factors; ‘1’ and itself.
 
(Though the concepts function correctly for zero and negative integers, the set of factors of zero has countably infinite members, and the factors of negative integers can be obtained from the factors of related positive numbers without difficulty;   this task does not require handling of either of these cases).
See also:
 
* [[Prime decomposition]]
Note that every prime number has two factors:   ‘1’'''1'''   and itself.
 
 
;Related task:
*   [[Prime decomposition]]
<br><br>
 
=={{header|0815}}==