I realised the formula for this was:
n!
This is because, e.g. for 5, there are 5 possibilities for the first column, 4 for the second, 3 for the third, 2 for the forth, and 1 for the fifth.
Then Lucy played around with her friend, Emma’s, name. She writes down the different combinations:
- EMMA
- EMAM
- EAMM
- MEMA
- MEAM
- MMEA
- MMAE
- MAEM
- MAME
- AEMM
- AMEM
- AMME
I notice that there is only half the amount of combinations that there are for Lucy even though they have the same number of letters.
Then I tried Sally and that also had half of the factorial so I get the equation:
n!
2
I then tried Bobby and wrote down the different combinations:
- BOBBY
- BOBYB
- BOYBB
- BBOBY
- BBOYB
- BBBOY
- BBBYO
- BBYOB
- BBYBO
- BYOBB
- BYBOB
- BYBBO
- OBBBY
- OBBYB
- OBYBB
- OYBBB
- YBOBB
- YBBOB
- YBBBO
- YOBBB
I noticed that this is 5! divided by 3!. I, therefore get the equation, when s=number of letters the same:
n!
s!
I then tried with more than one than one combination of more than one letter. Instead of thinking of names I will use letters. I will do AABBB:
- AABBB
- ABABB
- ABBAB
- ABBBA
- BAABB
- BABAB
- BABBA
- BBAAB
- BBABA
- BBBAA
I noticed that this is 5! divided by 2! x 3!. I also did AABBCC and that came out as 6!divided by 2! x 2! x 2!. Therefore I found the equation:
n! .
s1!s2!s3!(etc.)
This equation works on any word.
This is because it is the factorial but the first letter there is n-s-1, in the second there is a majority of n-s-2, and in the third there is a majority of n-s-3. This keeps on going until the penultimate number, which, along with the last, stays the same as normal.
Then we were asked to find out how many possibilities there are for a combination of 4 Xs and 5 Ys. I used the formula to figure this out in this way:
n! .
s1! x s2!
9! .
4! x 5!
= 362880 .
2880
= 126