if there are 30 students in a class and 39 candys in a pack how many packs of candy do you have to buy so that there will be no left overs (hint us lowest common mutilple

Yes, what is the lowest common multiple (LCM) of 30 and 39?

30=2*3*5
39=3*13
The LCM is the product of the highest power of each of the prime factors, namely
LCM=2*3*5*13=390
No. of packs required = 390/39=10