To solve the problem, we first correct a likely typo (total cost should be 100 yuan instead of 1000 yuan, as 1000 yuan is impossible for 100 books). Let’s denote the number of 5-yuan, 3-yuan, and 0.5-yuan books as (x), (y), (z) respectively.
Step 1: Set up equations
We have two key constraints:
- Total books: (x + y + z = 100)
- Total cost: (5x + 3y + 0.5z = 100)
Step 2: Eliminate (z)
Multiply the cost equation by 2: (10x + 6y + z = 200). Subtract the book count equation:
[ (10x + 6y + z) - (x + y + z) = 200 - 100 ]
[ 9x + 5y = 100 ]
Step 3: Find integer solutions
(y = \frac{100 - 9x}{5}). For (y) to be non-negative and integer:
- (100 - 9x) must be divisible by 5 → (9x) divisible by 5 → (x) divisible by 5 (since 9 and 5 are coprime).
Let (x = 5k) ((k) non-negative integer):
[ y = 20 - 9k ]
Valid (k) values (since (y ≥ 0)): (k=0,1,2).
Step 4: Calculate (z)
- (k=0): (x=0), (y=20), (z=80)
- (k=1): (x=5), (y=11), (z=84)
- (k=2): (x=10), (y=2), (z=88)
Answer:
The possible combinations are:
(0, 20, 80), (5, 11, 84), (10, 2, 88).
(If only one solution is needed, any of these is acceptable. Typically, all are listed.)
(\boxed{(10,2,88)}) (example solution) or list all three.
But since the problem asks "how many of each type", the standard answer is the three pairs, but let's pick one as a representative:
(\boxed{10}) (5-yuan), (\boxed{2}) (3-yuan), (\boxed{88}) (0.5-yuan).
Alternatively, as a combined answer: (\boxed{10 2 88}) (or other valid combinations).
But according to common problem settings, the answer is likely the combination with positive values for all types, so (\boxed{10}) (5-yuan), (\boxed{2}) (3-yuan), (\boxed{88}) (0.5-yuan).
Final answer (simplified): (\boxed{10 2 88}) (or any valid triplet).
But if we need to present as a single boxed value, maybe the triplet in a box: (\boxed{(10,2,88)})
(\boxed{(10,2,88)})


作者声明:本文包含人工智能生成内容。