Gabby the Gnome has 3 cloaks of different colors: blue, green, and brown. He also has 5 different hats: 3 yellow and 2 red. Finally, he owns 6 different pairs of shoes: 2 yellow, and 4 red. Gabby is selecting an outfit: a cloak, a hat, and a pair of shoes. In how many ways can he do it if he wants the color of his shoes to match the color of the hat?
A palindromic number is a number that reads the same backward and forward. (For example, \(13531\) is palindromic.)
a) How many \(5\)-digit numbers are palindromic?
b) How many \(5\)-digit numbers are palindromic and consist of distinct digits?
c) How many \(5\)-digit numbers consist of \(3\) distinct digits and end with 2?
d) How many \(5\)-digit numbers are odd and consist of \(3\) distinct digits?
\(10\) people including Alice, Bob and Charlie are waiting in a queue. How many distinct line-ups are there such that none of the mentioned three are next in the queue to both of the other two?
Mollie’s mum would like to buy 16 balloons. The balloons come in three colours: red, green, and blue. In how many ways can she buy these balloons if she would like to get at least 4 of every colour?
Mr. and Mrs. Jones have six kids – 3 boys and 3 girls. Today, a photographer is taking pictures of the family.
a) In how many ways can the kids be seated in a row so that all the girls are on the left and all the boys are on the right?
b) In how many ways can Jones’ kids be seated in a row so that girls and boys alternate?
c) In how many ways can the whole family be seated, if all the girls must be sitting together, all the boys must be sitting together as well, and parents must be either together in the centre, or on both sides?
How many 12-digit numbers, whose product of digits equals 6, are there?
Matt has a cube and wants to colour each face a different colour. He has \(6\) dyes prepared. In how many different ways can he do it? Two colourings are different if the cube cannot be rotated to look like the other one.
It is happy hour on Friday. Sue, Sam, Pete, Martha and Bradan are fooling around at their office desks. There are \(5\) desks, which correspond to where they sit during the day. How many ways are there for them to occupy a seat at the various desks, such that nobody is in the correct spot?
a) In a canteen, every day a chef prepares three lunch options customers can choose from. He is not a very good chef, but he knows six meals he can prepare very well. Every day, he chooses three out of these six and offers them. The options are presented left to right and we consider a lunch different if the three options are in different order, even if they are the same. For how many days can the chef go on, without repeating himself?
b) The customers have seen through chef’s plot and they realized that the order of the options does not in fact matter – there are still the same three lunches to choose from. If the chef now wants every day to be different, for how many days can he prepare different three meals each day?
A magician has \(10\) ingredients used for brewing potions. Any \(6\) have to be combined in order for brewing to be successful. How many different potions can the magician brew?