Ryan gets a gift of $80 on his birthday. He goes to the Lego store to buy Lego sets. The Lego store has small sets for $4, the medium size sets for $16 and the large sets for $32. What is the least number of sets that Ryan can buy if he has to buy at least one small and one medium set of Lego?

1 small + 1 medium = $20

so $60 left
we can only buy one large for $32
60 = 32 = $28 left (3 bought so far)
One medium for 16 leaves 12 (4 so far)
finally 3 smalls leaves $0 (7 total)

To determine the least number of sets that Ryan can buy, we need to find a combination that includes at least one small set and one medium set while staying within the budget of $80.

Let's first start by considering that Ryan buys one small set for $4 and one medium set for $16. This leaves him with $80 - $4 - $16 = $60.

Now, let's analyze how many more large sets Ryan can buy with the remaining $60. Since the large sets cost $32 each and Ryan has $60 left to spend, the maximum number of large sets he can buy is $60 / $32 = 1.875. However, we can only consider whole numbers when counting the number of sets, so Ryan can only buy one large set.

Therefore, the correct combination of sets that Ryan can buy is one small set, one medium set, and one large set.

In total, Ryan can buy a minimum of 3 sets (1 small, 1 medium, and 1 large set).