For example, 22 has factors of 2 and 11, both prime numbers, yet 22 itself is not prime.

  • palebluethought@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This would be true if and only if the number has exactly 2 prime factors. Otherwise, if n = abc, then a*b (or any other choice of two) is also a factor, and is not prime.