n quarters; 2n nickels and the rest 23-n-2n = 23-3n are dimes. The total money equation is then 25n + 5*(2n) + 10*(23-3n) = 265 cents, or 25n + 10n + 230 - 30n = 265 5n = 265 - 230 = 35 n = 35/5 = 7. ANSWER. 7 quarters; 14 nickels and the rest are 23-7-14 = 2 dimes.