<p>In the prime factorisation of \\(ab\\), all prime factors come from the factorisations of \\(a\\) and \\(b\\). If the prime \\(p\\) appears in \\(ab\\), it must appear in \\(a\\) or in \\(b\\). Thus \\(p\\mid a\\) or \\(p\\mid b\\).</p>