I need to to define difference equation for following problem and solve that equation using generating function.
Border of length 10cm is made of small bricks (10cm long) and large bricks (20cm long). Small bricks come in 2 colours and large bricks in 3 colours. How many different borders of length 10n cm can be made.
I'm having problems defining difference equation for this. I've computed:
$u_{1} = 2$
$u_{2} = 5$