"How many ways are there to form a 5 × 3 rectangle from squares of side lengths 1, 2 and 3 ?"
Above is a question from SEAMO(South East Asian Math Olympiad). I tried to solve it but failed. I thought to make some combinations and thought of some kind of pattern. But couldn't. BTW this is a SEAMO 2020 Grade 5-6 problem. So please think of easy solutions like some kind of patterns, observations, etc.
ANS:
\begin{align} ANS = 28 \end{align}
Please Help.
Thanks in advance!!!
Let $ a_n$ be the number of ways to form a $ n \times 3$ rectangles using squares of length $1, 2, 3$.
Goal: Find a recurrence relation for $a_n$.
Hint: Starting from the right, consider the largest square that touches the right-most edge.
Corollary: Determine $a_5$.