SOLUTION: The price of 4 stationery are as follows: pencil $5 each, pen $9 each, ruler $6 each and rubber $4 each. Jason has $120 to buy the stationery. If he has to buy at least one for eac

Algebra ->  Test -> SOLUTION: The price of 4 stationery are as follows: pencil $5 each, pen $9 each, ruler $6 each and rubber $4 each. Jason has $120 to buy the stationery. If he has to buy at least one for eac      Log On


   



Question 763201: The price of 4 stationery are as follows: pencil $5 each, pen $9 each, ruler $6 each and rubber $4 each. Jason has $120 to buy the stationery. If he has to buy at least one for each type of stationery, and the total price should be a prime number, what is the greatest number of pencil Jason can buy?
Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Suppose Jason bough 20 pencils
+20%2A5+=+100+
He has $20 to spend on the rest
+9+%2B+6+%2B+4+=+19+
That works, since $119 is under $120
and it is a prime number
-----------------
21 pencils means he spends +21%2A5+=+105+
and has $15 left
+9+%2B+6+%2B+4+=+19+
He ends up spending $124,
which is more than $120
------------------------
The most pencils he can buy is 20