Permutations
Forum rules
The global forum rules are found here.
NOTE: posts in this section are not counted towards your total.
The global forum rules are found here.
NOTE: posts in this section are not counted towards your total.
- StarPhoenix
- B.Soc.Sci, M.SocSci [UPCF]
- Posts: 17634
- Joined: 11 Dec 2003, 02:00
- Processor: Core i5 3470
- Motherboard: Gigabyte G1 Sniper Z77
- Graphics card: nVidia GeForce GTX 1060
- Memory: 8Gb DDR3 1600
- Location: East London
- Contact:
Permutations
I have a bee in my bonnet
In order to distract myself from thinking about a puzzle that my boss sent me, I started thinking about
the number of ways in which the letters of the alephbeth can be combined....
How would one go about calculating the number of ways one thing can be combined with another.
I get that 1 item can be combined with 3 items in 3 ways and that 2 items can be combined with 3 items in 6, while 3x3
gives nine combinations, but am nit sure whether this is enough information from which to generalise a formula if one
to calculate the number of ways in which one can combine par of letters of the alphabet for example
a – a
a – b
a – c
….
A – Z
26 combinations for A it seems
Now I would guess that b would combine with itself and 25 other letters
C with self and 25
D with self and 25
E with self and 25
….
Z with self and 25
I am treating ab and ba as separate
Would this work out to 26x26 combinations or am I missing something?
Please point me in the right direction before this drives me nuts.
In order to distract myself from thinking about a puzzle that my boss sent me, I started thinking about
the number of ways in which the letters of the alephbeth can be combined....
How would one go about calculating the number of ways one thing can be combined with another.
I get that 1 item can be combined with 3 items in 3 ways and that 2 items can be combined with 3 items in 6, while 3x3
gives nine combinations, but am nit sure whether this is enough information from which to generalise a formula if one
to calculate the number of ways in which one can combine par of letters of the alphabet for example
a – a
a – b
a – c
….
A – Z
26 combinations for A it seems
Now I would guess that b would combine with itself and 25 other letters
C with self and 25
D with self and 25
E with self and 25
….
Z with self and 25
I am treating ab and ba as separate
Would this work out to 26x26 combinations or am I missing something?
Please point me in the right direction before this drives me nuts.
Last edited by StarPhoenix on 15 Mar 2010, 13:40, edited 1 time in total.
"Humankind cannot bear very much reality." T.S. Elliot
Re: Combinations
From what I remember from my Statistical Theory (about 20 years ago!) is that n! features somewhere. n! : eg 3! = 1x2x3 = 6, 4! = 1x2x3x4 = 24 etc!
So the number of possible combinations increase exponentially!
So the number of possible combinations increase exponentially!
Dual Core E2140@1.6GHz, 2 Gig Ram, 500 Gig Samsung HD, 80 Gig Maxtor, Geforce 7300se
Thanx Ama
- StarPhoenix
- B.Soc.Sci, M.SocSci [UPCF]
- Posts: 17634
- Joined: 11 Dec 2003, 02:00
- Processor: Core i5 3470
- Motherboard: Gigabyte G1 Sniper Z77
- Graphics card: nVidia GeForce GTX 1060
- Memory: 8Gb DDR3 1600
- Location: East London
- Contact:
Re: Combinations
What is "!" when it is not an exclamation mark?
So it would be 26x25x24x.....x1 ?
So it would be 26x25x24x.....x1 ?
"Humankind cannot bear very much reality." T.S. Elliot
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Combinations
So what you want is permutations, not combinations.StarPhoenix wrote:I am treating ab and ba as separate
If you want to permute the entire alphabet (26 characters) without repeating characters, you would use 26! (factorial) which would be 26x25x24x23x22x21x20x19x18x17x16x15x14x13x12x11x10x9x8x7x6x5x4x3x2x1
If you want to permute with repeats of characters, it would be 26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26x26
(or 2626)
26 x 26 would only be for 2 characters - with repeatsWould this work out to 26x26 combinations or am I missing something?
Last edited by Monty on 15 Mar 2010, 10:25, edited 2 times in total.
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
-
- Forum Administrator
- Posts: 22136
- Joined: 14 Jun 2004, 02:00
- Processor: Ryzen 1700K
- Motherboard: Asus X370
- Graphics card: Asus 1060 Strix
- Memory: 16GB RAM
- Location: Where Google says
Re: Combinations
/exits thread with smoke coming out of my ears...
JUSTICE, n A commodity which is a more or less adulterated condition the State sells to the citizen as a reward for his allegiance, taxes and personal service.
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: Combinations
/Follow Anky.
They did something like this to work out the possible combination for the lotto. I understood it both times - but cannot explain it.
They did something like this to work out the possible combination for the lotto. I understood it both times - but cannot explain it.
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Combinations
The possible combinations for the lotto are (47x46x45x44x43x42)/2 or 3 865 526 280
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
- hamin_aus
- Forum Moderator
- Posts: 18363
- Joined: 28 Aug 2003, 02:00
- Processor: Intel i7 3770K
- Motherboard: GA-Z77X-UP4 TH
- Graphics card: Galax GTX1080
- Memory: 32GB G.Skill Ripjaws
- Location: Where beer does flow and men chunder
- Contact:
Re: Combinations
Derp.
- Prime
- Registered User
- Posts: 27729
- Joined: 01 Mar 2004, 02:00
- Location: Getting into trouble
- Contact:
Re: Combinations
Expanding on what monty said about the lotto. For the lotto one, you initially have 47 numbers to take from. Then you have 46 and then 45.
So that's 47 ways to pick the first number, 46 to pick the second, 45 to pick the third.
So that's 47 ways to pick the first number, 46 to pick the second, 45 to pick the third.
- StarPhoenix
- B.Soc.Sci, M.SocSci [UPCF]
- Posts: 17634
- Joined: 11 Dec 2003, 02:00
- Processor: Core i5 3470
- Motherboard: Gigabyte G1 Sniper Z77
- Graphics card: nVidia GeForce GTX 1060
- Memory: 8Gb DDR3 1600
- Location: East London
- Contact:
Re: Permutations
We are duly impressed.
I think I get this.
I was looking for alphabet permutations with repeats, ie 26^26.
Well now I know who to ask when next I am puzzling over something of this nature.
What is the difference between a permutation and a combination, by the way?
I think I get this.
I was looking for alphabet permutations with repeats, ie 26^26.
Well now I know who to ask when next I am puzzling over something of this nature.
What is the difference between a permutation and a combination, by the way?
"Humankind cannot bear very much reality." T.S. Elliot
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Permutations
http://www.mathagonyaunt.co.uk/STATISTI ... combs.html
in a permutation, order matters - so 1234 is different to 1243
where as in a combination, order doesn't matter so 1234 and 1243 considered the same as they have the same digits.
in a permutation, order matters - so 1234 is different to 1243
where as in a combination, order doesn't matter so 1234 and 1243 considered the same as they have the same digits.
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
-
- Registered User
- Posts: 566
- Joined: 29 May 2006, 02:00
- Contact:
Re: Permutations
I would have just used my calculator.
It has a permutation and combination button on it.
Otherwise use the formula that Monty gave.
It has a permutation and combination button on it.
Otherwise use the formula that Monty gave.
- Prime
- Registered User
- Posts: 27729
- Joined: 01 Mar 2004, 02:00
- Location: Getting into trouble
- Contact:
Re: Permutations
You'd be surprised how many students in my stats class sit and type out the formula for C and P
-
- Registered User
- Posts: 566
- Joined: 29 May 2006, 02:00
- Contact:
Re: Permutations
I teach some kids maths too.
Even the brightest ones are too stupid to play on their calculators to see how they work.
For example, typing out *10^ instead of pressing the EXP button.
Not know how to store things in memory.
For some bizarre reason they are also all afraid of fractions and try to make everything into a decimal.
Even the brightest ones are too stupid to play on their calculators to see how they work.
For example, typing out *10^ instead of pressing the EXP button.
Not know how to store things in memory.
For some bizarre reason they are also all afraid of fractions and try to make everything into a decimal.
- Prime
- Registered User
- Posts: 27729
- Joined: 01 Mar 2004, 02:00
- Location: Getting into trouble
- Contact:
Re: Permutations
And they are not taught to use them properly at school level. you can do coordinate systems, degrees minutes, seconds, regression, etc.VoxynQueen wrote:I teach some kids maths too.
Even the brightest ones are too stupid to play on their calculators to see how they work.
For example, typing out *10^ instead of pressing the EXP button.
Not know how to store things in memory.
For some bizarre reason they are also all afraid of fractions and try to make everything into a decimal.
Re: Permutations
Why are you dividing by 2? And are there not 49 numbers in our lotto?Monty wrote:The possible combinations for the lotto are (47x46x45x44x43x42)/2 or 3 865 526 280
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Permutations
Oops. Yes, there are 49 lotto numbers (Guess who has never played lotto before)Moses wrote:Why are you dividing by 2? And are there not 49 numbers in our lotto?Monty wrote:The possible combinations for the lotto are (47x46x45x44x43x42)/2 or 3 865 526 280
And it should be (49x48x47x46x45x44)/(6x5x4x3x2x1) or 13 983 816
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
Re: Permutations
That looks still wrong.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
Three Sheets Dutong: That stuff tastes like vomit baked in a glaze of goat hair and garnished with a sprinkling of horse dung.
Re: Permutations
Wrong. Monty is now correct.endev8003 wrote:That looks still wrong.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Permutations
No. That is permuations - ie order of the numbers matter.endev8003 wrote:That looks still wrong.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
The lotto just uses the numbers (order doesn't matter) so you need a combination not permutations.
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
Re: Permutations
Just a stupid question - shouldn't it be (49x48x47x46x45x44x43.....x2)?Monty wrote:No. That is permuations - ie order of the numbers matter.endev8003 wrote:That looks still wrong.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
The lotto just uses the numbers (order doesn't matter) so you need a combination not permutations.
Dual Core E2140@1.6GHz, 2 Gig Ram, 500 Gig Samsung HD, 80 Gig Maxtor, Geforce 7300se
Thanx Ama
-
- Registered User
- Posts: 14085
- Joined: 06 Oct 2004, 02:00
- Location: Location, Location...
- Contact:
Re: Permutations
No, then you'd be using all 49 numbers for the combo, not just 6 of the 49 (I think- my maths is waaay rusty )
-
- Forum Moderator
- Posts: 10000
- Joined: 05 Feb 2004, 02:00
- Processor: Intel i5-4690K @ 4.5GHZ
- Motherboard: ASUS Maximus VII Formula
- Graphics card: ASUS GTX970 Strix
- Memory: 4 x 4GB Corsair Dominators
- Location: Messing with your Mind
- Contact:
Re: Permutations
No. You are only using six numbers for the lotto.Mykhal wrote:Just a stupid question - shouldn't it be (49x48x47x46x45x44x43.....x2)?Monty wrote:No. That is permuations - ie order of the numbers matter.endev8003 wrote:That looks still wrong.
It should be just (49x48x47x46x45x44) which is 10 068 347 520.
The lotto just uses the numbers (order doesn't matter) so you need a combination not permutations.
So for the first number you have 49 choices
So for the second number you have 48 choices
So for the third number you have 47 choices
So for the forth number you have 46 choices
So for the fifth number you have 45 choices
So for the sixth number you have 44 choices
So 49 x 48 x 47 x 46 x 45 x 44
And as the order doesnt matter, you need to divide by 6 x 5 x 4 x 3 x 2 x 1
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.