3 answers
(click or scroll down)
Let the number of people who attended the dinner party be N. Then, from the conditions of the question, 45 is a multiple of N and 75 is a multiple of N. Hence, N is a factor of both 45 and 75, so the largest possible value of N would be the greatest common divisor of 45 and 75.
We can calculate that gcd(45,75)=15.