Content deleted Content added
2 is not factorable, neither 3, in 2 factors greater then 1. this is a correction, but may not be the best way to put it. Tag: Reverted |
Reverted good faith edits by 189.94.8.137 (talk): The original text is OK, 2 and 3 are prime |
||
Line 3:
{{unsolved|computer science|Can integer factorization be solved in polynomial time on a classical computer?}}
In [[mathematics]], '''integer factorization''' is the decomposition of a [[positive integer]] into a [[Product (mathematics)|product]] of integers. Every positive integer greater than
To factorize a small integer {{mvar|n}} using mental or pen-and-paper arithmetic, the simplest method is [[trial division]]: checking if the number is divisible by prime numbers {{math|2}}, {{math|3}}, {{math|5}}, and so on, up to the [[square root]] of {{mvar|n}}. For larger numbers, especially when using a computer, various more sophisticated factorization algorithms are more efficient. A prime factorization algorithm typically involves [[primality test|testing whether each factor is prime]] each time a factor is found.
|