Here is a simple problem:
How many sequences {a1, a2, a3, a4, a5} are there such that:
How many sequences {a1, a2, a3, a4, a5} are there such that:
- a1<=20, a2<=40, a3<=60, a4<=150, a5<=300
- LCM(a1, a2, a3, a4, a5) = MAX(a1, a2, a3, a4, a5) = 210
MAX (a, b, c, d, e) is the largest of these 5 numbers.