A square patchwork quilt is made by joining four pieces of square cloth like this:
Only edges of the same colour are sewn together. How many different quilt patterns are possible?
If you liked this problem, here is an NRICH task
which challenges you to use similar mathematical ideas.
This problem is taken from the UKMT Mathematical Challenges.