These fields are all optional and need only
be supplied if you would like a direct reply.
Subject
Your email address
Your real name
You must answer this!
If you don't, my spam filtering will
ensure that I never see your email.
What's 8 plus five (in digits only)?
Please make your changes here and then
Editing tips and layout rules.
File: Calculating52FactorialByHand ''' <link rel="alternate" type="application/rss+xml" ''' href="/rss.xml" title="RSS Feed"> ********> width="25%" |>> ''' <a title="Subscribe to my feed" ''' rel="alternate" ''' href="https://www.solipsys.co.uk/rss.xml"> ''' <img style="border-width: 0px;" ''' src="https://www.feedburner.com/fb/images/pub/feed-icon32x32.png" ''' align="middle" ''' alt="" />Subscribe!</a> _ ''' <a href="https://twitter.com/ColinTheMathmo"> ''' <img src="https://www.solipsys.co.uk/new/images/TwitterButton.png" ''' title="By: TwitterButtons.net" ''' width="212" height="69" ''' alt="@ColinTheMathmo" ''' /></a> <<| ---- My latest posts can be found here: * ColinsBlog ---- Previous blog posts: * SmallThingsMightNotBeSoSmall * NotIfYouHurry * FactoringViaGraphThreeColouring * AnotherProofOfTheDoodleTheorem * WhenObviousIsNotObvious * GraphThreeColouring * TheDoodleTheorem * BeCarefulWhatYouSay * TheMutilatedChessboardRevisited * AMirrorCopied * TheOtherOtherRopeAroundTheEarth * PhotocopyAMirror * ThePointOfTheBanachTarskiTheorem * SieveOfEratosthenesInPython * FastPerrinTest * RussianPeasantMultiplication * FindingPerrinPseudoPrimes_Part2 * FindingPerrinPseudoPrimes_Part1 * TheUnwiseUpdate * MilesPerGallon * TrackingAnItemOnHackerNews * HackerNewsUserAges * PokingTheDustyCorners * ThereIsNoTimeForThis * PublicallySharingLinks * LearningTimesTables * GracefulDegradation * DiagrammingMathsTopics * OnTheRack * SquareRootByLongDivision * BeyondTheBoundary * FillInTheGaps * SoftwareChecklist * NASASpaceCrews * TheBirthdayParadox * TheTrapeziumConundrum * RevisitingTheAnt * TheAntAndTheRubberBand * IrrationalsExist * MultipleChoiceProbabilityPuzzle * RandomEratosthenes * WrappingUpSquareDissection * DissectingASquarePart2 * DissectingACircle * DissectingASquare * AnOddityInTennis * DecisionTreeForTennis * DecisionTreesInGames * AMatterOfConvention * DoYouNourishOrTarnish * BinarySearchReconsidered * TwoEqualsFour * TheLostPropertyOffice * TheForgivingUserInterface * SettingUpRSS * WithdrawingFromHackerNews ---- Additionally, some earlier writings: * RandomWritings. * ColinsBlog2010 * ColinsBlog2009 * ColinsBlog2008 * ColinsBlog2007 * ColinsBlogBefore2007 ''' <img src="/cgi-bin/CountHits.py?Calculating52FactorialByHand" alt=" " /> ******** !! Calculating 52 Factorial By Hand - 2016/01/04 Some time ago I gave a talk in which I showed that something unexpected happened with a deck of playing cards. I had some volunteers try it, and while they did so I talked about just how many orderings there are for 52 cards. I computed (an approximation to) $52!$ (52 factorial) by hand. It's not so hard - you just calculate $54!$ and then divide by 3000. I know that sounds like a joke, but it's not. Here's why. Firstly, I'm going to be really rough and ready here, and we can come back later to refine our calculations. So I'll start with Stirling's approximation to the factorial: |>> $n!~{\approx}~(n/e)^n\sqrt{2{\pi}n}$ <<| We can use that to compute $52!,$ but suddenly we notice that $e$ is roughly $2.7.$ That means that if we compute $54!$ we get: |>> $54!~\approx~(54/e)^{54}\sqrt{2{\pi}54}$ <<| And $54/e$ is roughly $20,$ so this simplifies enormously. Taking just the first part: |>> $(54/e)^{54}~{\approx}~20^{54}$ <<| We can break that down further: |>> $20^{54}=2^{54}10^{54}$ <<| And |>> $2^{54}=2^4(2^{10})^5~{\approx}~16\cdot(10^3)^5=16\cdot10^{15}.$ <<| Trace that back, re-insert it all, and we have: |>> $(54/e)^{54}~{\approx}~(16\cdot10^{15})(10^{54})=16\cdot10^{69}$ <<| Now we return to $\sqrt{2{\pi}54}.$ Using $pi\approx3$ this simplifies to $\sqrt{324}$ which is 18. Pulling it all together, we get: |>> $54!~{\approx}~16\cdot10^{69}\cdot18=288\cdot10^{69}$ <<| But now we want to divide by $(53\times54),$ which is close enough to $2880,$ so we get: |>> $52!~{\approx}~(2880\cdot10^{68})/2880=10^{68}$ <<| And there we are - we've computed (an approximation to) $52!$ by computing $54!$ and dividing by $3000.$ Obvious, really. ---- |>> | |>> <<<< Prev <<<< ---- SmallThingsMightNotBeSoSmall <<| | : | |>> >>>> Next >>>> ---- HowNotToDoTwitter ... <<| | ---- ********> ''' <a href="https://twitter.com/ColinTheMathmo">You should follow me on twitter</a> ******** ''' <a href="https://twitter.com/ColinTheMathmo"> ''' <img src="https://www.solipsys.co.uk/new/images/TwitterButton.png" ''' title="By: TwitterButtons.net" ''' width="212" height="69" ''' alt="@ColinTheMathmo" ''' /></a> ********< <<| ---- !! Comments I've decided no longer to include comments directly via the Disqus (or any other) system. Instead, I'd be more than delighted to get emails from people who wish to make comments or engage in discussion. Comments will then be integrated into the page as and when they are appropriate. If the number of emails/comments gets too large to handle then I might return to a semi-automated system. That's looking increasingly unlikely. ********<