Olympiad workbook
- Exam
- Olympiad workbook
- Subject
- IOQM
- Chapter
- Permutation and Combination
Olympiad workbook · IOQM · Permutation and Combination
In the land of Binary, the unit of currency is called Ben and...
In the land of Binary, the unit of currency is called Ben and currency notes are available in denominations 1,2 , . Bens. The rules of the Government of Binary stipulate that one can not use more than two notes of any one denomination in any transaction. For example, one can give a change for 2 Bens in two ways: 2 one Ben notes or 1 two Ben note. For 5 Ben one can give 1 one Ben note and 1 four Ben note or 1 one Ben note and 2 two Ben notes. Using 5 one Ben notes or 3 one Ben notes and 1 two Ben notes for a 5 Ben transaction is prohibited. Find the number of ways in which one can give change for 100 Bens, following the rules of the Government.
Correct answer
19
Step-by-step solution
.
or,
\begin{aligned}
& a_{100}=a_{50}+a_{24} \\
& \quad \downarrow \\
& \begin{aligned}
a_{100}= & \left(a_{25}+a_{24}\right)+a_{24}=a_{25}+2 a_{24} \\
& \downarrow \\
= & a_{12}+2\left(a_{12}+a_5\right)
\end{aligned}
\end{aligned}a_3a+2 b+4 c=3a=1 \Rightarrow 2 b+4 c=2(1,1,0)\therefore a_3=1a_2$