Given a prime p show that if p|LCM[a,b] then p|a or p|b.
Is it enough for me to simply show that if d=LCM then d=an, then by Euclid(p|xy then p|x or p|y), p|d so p|an therefore p|a or p|n? and doing the same for b.
Also, how do I confirm the "or" here?
Thank you.