Dipa has . Each day he buys either tea for or orange juice for or apple juice for or avocado juice for . In how many ways can he spend ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let S n be the number of ways to spend n dollars. Then S n = S n − 1 + 3 S n − 2 . Given the initial conditions S 1 = 1 , S 2 = 4 , we can compute S 9 = 1 1 5 9 .