Prime Number Inspector

Check primality and report the smallest factor of a bounded integer.

Scope: Input is capped to keep trial division predictably bounded in the browser.

Workbench

Inputs stay on this page.