Question 240010
Hello!  I know the answer is 8 quarters and 2 dimes, but sorry... I don't have a formula for you.  If you need one, please re-submit your question.
.
I hope my answer did help you.