Smallest prime factor
Definition
Let be a natural number with . The smallest prime factor of is the smallest prime number such that . It exists by the existence of a prime divisor.
Remarks
The smallest prime factor of is also the smallest divisor of with . The number is prime if and only if its smallest prime factor is . If is composite, its smallest prime factor satisfies . See a composite number has a prime factor at most its square root. For example, the smallest prime factor of is .
Explanations
L1 human
Divide by , then by , then by , and so on. The first number that divides exactly is the smallest prime factor. It is always prime, because a smaller factor of it would also divide and would come earlier.
What this node needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Prime number definition
- Existence of a prime divisor statement
- Smallest prime factor definition
What depends on this
1 node uses this node, directly or through other nodes.
Sources
- Web https://en.wikipedia.org/wiki/Prime_number, Trial division