Practice problem
Least Common Multiple (LCM) — Definition & Examples
At a certain store, a package of apples and oranges costs dollars, and a package of apples and oranges costs dollars. Given that apples and oranges can only be bought in these two packages, what is the minimum nonzero amount of dollars that must be spent to have an equal number of apples and oranges?
Source: Winter Online Math Open