Mathematics · Interactive tool
Smallest Prime Factor
Find the smallest prime divisor of an integer from 2 to 10^12.
Your inputs
Result
Calculated output
Enter inputs to calculate.
p = min{q : q is prime and q divides n}. n is an integer from 2 to 10^12; p equals n when n is prime.