Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

Lupe went to the store and paid for her purchase with a \ 10\, how many possible amounts of change could she have received?
Solution
First, for simplicity, let's make all the amounts of money into integers by considering them all in cents. For example, \5.43A=A_1A_2A_3B_1B_2B_3A_1AB_1BA_2AA+B=1000A_1+B_1=9A_1+B_1<9A+B<1000A_1+B_1=10A_2=B_2=A_3=B_3=0A_1=B_1=5A=B=500A_1B_1AA_1=B_2A_1=B_3B_1=A_2B_1=A_3nnnAA_1B_1A_1+B_1=9BA_3=5B_3=5A_1=B_3B_1=A_3A_3+B_3=9\Rightarrow A+BA_3=5ABB_3=5A_3=B_3=5A_1=B_2A_2=B_1A_1A_1ABA_1A_1=1\Rightarrow A=\1.85, B=\8.15A_1=2\Rightarrow A=\2.75, B=\7.25A_1=3\Rightarrow A=\3.65, B=\6.35A_1=4\Rightarrow A=\4.55, B=\5.45A_1=5\Rightarrow A=\5.45, B=\4.55A_1=6\Rightarrow A=\6.35, B=\3.65A_1=7\Rightarrow A=\7.25, B=\2.75A_1=8\Rightarrow A=\8.15, B=\1.85\boxed{8}$ possible amounts of change.
Final answer
8