A pen costs Rs. 7 each. A scale costs Rs. 5 each. X spends Rs. 38 on these…
2025
A pen costs Rs. 7 each. A scale costs Rs. 5 each. X spends Rs. 38 on these stationery items. The number of pens purchased is
- A.
2
- B.
3
- C.
4
- D.
Data inadequate
Attempted by 8 students.
Show answer & explanation
Correct answer: C
Concept: In such 'find the quantity purchased' problems, translate the cost information into a linear equation with two non-negative-integer unknowns (the quantities bought). Because both quantities must be whole numbers that fit the total budget exactly, only specific pairs satisfy the equation — use a divisibility test to find the pair that fits exactly, rather than assuming several solutions exist.
Applying this to the problem:
Let the number of pens be a and the number of scales be b.
The total cost gives the equation 7a + 5b = 38.
Rearranging for a: 7a = 38 − 5b, so a = (38 − 5b)/7.
For a to be a whole number, (38 − 5b) must be exactly divisible by 7.
Testing every non-negative integer b with 5b ≤ 38 (so b = 0 through 7): only b = 2 gives 38 − 10 = 28, which is divisible by 7, giving a = 4; every other value of b in this range leaves a remainder not divisible by 7.
So a = 4 pens and b = 2 scales is the unique non-negative-integer solution.
Cross-check: Substituting back: 4 pens × Rs. 7 + 2 scales × Rs. 5 = Rs. 28 + Rs. 10 = Rs. 38, which matches the total spend exactly, confirming the count is both valid and unique — so the data given is sufficient to pin down a single answer.
∴ The number of pens purchased is 4.