Jorghnassen
Illuminator
- Joined
- Nov 14, 2004
- Messages
- 3,942
Hypergeometric. Just to confirm MaxHardcore, JohnF_73 and GreedyAlgorithm.
In case anyone is interested, 52! = 8 x 10^67, which is a very large number. So large that no matter how many card games people play with a 52 card deck, and no matter how many times the decks are shuffled, all possible sequences of 52 cards will never occur.As a result, the standard deck of cards can be ordered in 52 x 51 x 50 x ... X 3 X 2 X 1 ways, or simply 52!.
In case anyone is interested, 52! = 8 x 10^67,
Well, yeah! It's larger by at least 6*10^65, which is an incredibly HUGE number!Really? I got (8.065817517...)*10^67. (Which is basically the same as what joe87 said, except that I think that he should have made it more clear that it is an approximation). What did you get? 156?
No, it isn't. 52! is much larger.
In case anyone is interested, 52! = 8 x 10^67, which is a very large number. So large that no matter how many card games people play with a 52 card deck, and no matter how many times the decks are shuffled, all possible sequences of 52 cards will never occur.
I make it 8.0658175170943878E+67 (difference of 6.58175170943878E+65). Any advance?Well, yeah! It's larger by at least 6*10^65, which is an incredibly HUGE number!
- Timothy
Well I was only interested in the colour, not the value, so it was many less, just 10.Exclaimation marks signify "factorial". Basically, n-factorial is equal to the product of the integers from 1 to n. So ...
3! = 3 x 2 x 1 = 6
6! = 6 x 5 x 4 x 3 x 2 x1 = 720
The reason factorial occurs so often in counting things is the nature of the beast. How many ways can a standard deck be ordered. Well, the first card can be any one of 52 cards. After selecting the first card, the second can be any one of the remaining 51 cards, the third any one of the remaing 50, the fourth ...
As a result, the standard deck of cards can be ordered in 52 x 51 x 50 x ... X 3 X 2 X 1 ways, or simply 52!.
So in the original problem, you have 5 cards. So if you put them in random order, you would have 5! possible shuffled decks.
5! = 5x4x3x2x1=120
When you wrote down as you mentioned in your very first post that you wrote down all the combinations, how many do you get? 120 I expect.
Walt
I make it 8.0658175170943878E+67 (difference of 6.58175170943878E+65). Any advance?
Actually, it doesn't take that long. He said "all possible sequences of 52 cards will never occur" but I think that he meant "not all possible sequences of 52 cards will ever occur".Rob Lister said:Obviously wrong. It will repeat ever 10^67 times.
![]()
If you have zero objects, in how many different ways can they be ordered? One way: the order consisting of no objects.Correct .. but then how does one get 0! = 1?![]()
Makes perfect sense. Is () not an ordering of zero objects? (If not, what's wrong with it, exactly? It has the correct number of items---zero, in this case---and no repetitions of any item, just like all the other orderings above. What else does it need?)
Through the already mentioned Gamma function, an extension of the factorial to real and complex numbersYes, that's how I learned it and understood what a factorial meant as opposed to how it is calculated.
BTW ... is there a way to explain (in everyday English) how a value is derived for 3.7! ?? If you Google it, you do get an answer.
For unfortunate historical reasons. The modern notation (using the Greek letter Gamma) is due to Legendre. Gauss used Pi(x) = x!, a simpler choice, but today Legendre's notation is universal. The first one to work with this function, by the way, was Euler. He used an infinite product which, in modern notation, would look like thisWhy is Gamma(z) defined with tz-1 under the integral sign, instead of tz? The latter would make Gamma(n) be n! rather than (n-1)!, which seems simpler.
Yllanes said:This is defined for all complex numbers, except negative integers, where it goes to infinity.
Not really. The applications you are thinking about were developed after the notation had been established, so they couldn't influence it.I think maybe for notation purposes. too.
We see a lot of gamma(x) pop up in applications. If gamma(x) is defined as integral tx e-t dt, t=0 to oo, then we'd see a lot of gamma(x-1)'s, which isn't as 'clean'.
Not really. The applications you are thinking about were developed after the notation had been established, so they couldn't influence it.
I'm sorry, I meant 'the applications I can think about'. Anyway, as I said, you can always take the 1s out in the formulae, so that's not the reason.I'm not sure how you could possibly know the applications I am thinking about. Maybe you should apply for the million dollars?
The domain is the whole complex plane, except for simple poles at 0 and the negative integers. With Gauss's definition we would get simple poles at the negative integers only. An easier domain is not the reason.I was thinking about this for some time this morning, and the answer to 69dodge's question is that it is due to the domain. Gamma as he defined it would be on (-1, oo). To get the domain on (0, oo) which is more natural use gamma as it is typically defined.