Raymond J. answered 12/18/20
Let n, d, and q represent the number of nickels, dimes, and quarters.
n + d + q = 29 and n + 1 = d + q ⇒ n = d + q - 1 are two equations to start with.
(d + q - 1) + d + q = 29 ⇒ 2d + 2q = 28 ⇒ d + q = 14, so n = 15.
You know you have 15 nickels, and each nickel is 5 cents, a dime is 10 cents, and a quarter is 25 cents,• so we have 15•5 + d•10 + q•25 = 335, or 10d + 25q = 260.
We also know that d + q = 14 ⇒ d = 14 - q. Plugging this in to the previous equation we get
(14 - q)•10 + 25q = 260 ⇒ 140 - 10q + 25q = 260 ⇒ 15q = 140 ⇒ q = 8. Since d = 14 - q, d = 6.
So we have 8 quarters, 6 dimes, and 15 nickels. 8•25 + 6•10 + 15•5 = 200 + 60 + 75 = 335.