Express as a product of primes.
Start with the smallest prime. is even, so divide by :
Keep dividing while the quotient stays even. is still even:
is odd, so no further factor of exists.
Decide how far to test 419. A composite number always has a prime factor no larger than its square root, and . So it is enough to test the primes — eight checks, not four hundred.
Run the trial divisions. is odd (not ); its digit sum is , not a multiple of ; it does not end in or ; and . None divides evenly, so 419 is prime.
State the factorization.
Check: ✓. Since both bases are prime, this is the complete prime factorization, and by the fundamental theorem of arithmetic it is the only one.
Need to solve a different problem like this? Open the solver →