We need to find the number of ordered triplets (a,b,c) of positive integers such that 30a+50b+70c≤343.
First, we determine the possible values for c:
1. Since 70c≤343, we have:
c≤⌊70343⌋=4
Therefore, c can be 1, 2, 3, or 4.
We will consider each case for c and find the corresponding values for a and b.
### Case 1: c=4
30a+50b≤343−70⋅4=343−280=63
- Since 30a≥30 and 50b≥50 for positive integers a and b, the smallest possible sum 30a+50b=30+50=80, which is greater than 63. Therefore, there are no solutions in this case.
### Case 2: c=3
30a+50b≤343−70⋅3=343−210=133
- We need to find pairs (a,b) such that 30a+50b≤133.
- For b=1:
30a+50≤133⟹30a≤83⟹a≤⌊3083⌋=2
Possible pairs: (1,1),(2,1)
- For b=2:
30a+100≤133⟹30a≤33⟹a≤⌊3033⌋=1
Possible pair: (1,2)
- For b≥3, 30a+50b≥150, which is greater than 133. Therefore, no solutions for b≥3.
Total solutions for c=3: 3 pairs (1,1),(2,1),(1,2).
### Case 3: c=2
30a+50b≤343−70⋅2=343−140=203
- We need to find pairs (a,b) such that 30a+50b≤203.
- For b=1:
30a+50≤203⟹30a≤153⟹a≤⌊30153⌋=5
Possible pairs: (1,1),(2,1),(3,1),(4,1),(5,1)
- For b=2:
30a+100≤203⟹30a≤103⟹a≤⌊30103⌋=3
Possible pairs: (1,2),(2,2),(3,2)
- For b=3:
30a+150≤203⟹30a≤53⟹a≤⌊3053⌋=1
Possible pair: (1,3)
- For b≥4, 30a+50b≥200, which is greater than 203. Therefore, no solutions for b≥4.
Total solutions for c=2: 9 pairs (1,1),(2,1),(3,1),(4,1),(5,1),(1,2),(2,2),(3,2),(1,3).
### Case 4: c=1
30a+50b≤343−70⋅1=343−70=273
- We need to find pairs (a,b) such that 30a+50b≤273.
- For b=1:
30a+50≤273⟹30a≤223⟹a≤⌊30223⌋=7
Possible pairs: (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1)
- For b=2:
30a+100≤273⟹30a≤173⟹a≤⌊30173⌋=5
Possible pairs: (1,2),(2,2),(3,2),(4,2),(5,2)
- For b=3:
30a+150≤273⟹30a≤123⟹a≤⌊30123⌋=4
Possible pairs: (1,3),(2,3),(3,3),(4,3)
- For b=4:
30a+200≤273⟹30a≤73⟹a≤⌊3073⌋=2
Possible pairs: (1,4),(2,4)
- For b=5:
30a+250≤273⟹30a≤23⟹a≤⌊3023⌋=0
No solutions for b=5.
Total solutions for c=1: 18 pairs (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(1,2),(2,2),(3,2),(4,2),(5,2),(1,3),(2,3),(3,3),(4,3),(1,4),(2,4).
Summing up all the solutions from each case:
0+3+9+18=30
The final answer is 30