Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Unlock the full potential of AI with Building LLMs for Productionβ€”our 470+ page guide to mastering LLMs with practical projects and expert insights!

Publication

Do You Want to Make History?
Latest   Machine Learning

Do You Want to Make History?

Last Updated on July 25, 2023 by Editorial Team

Author(s): Towards AI Editorial Team

Originally published on Towards AI.

I am making history immediately and effortlessly with a standard deck of cards!

Image by pencil parker from Pixabay

Author(s): Pratik Shukla

Introduction:

Well, I got bored while working on my research project this morning! So, I decided to overthink, and here is what I came up with today!!

Do you want to make history? That too immediately and effortlessly?

If the answer is yes, you’ve come to the right place!

What will we need to do to make history?

All you need to do is to shuffle a standard deck of cards.

But, before making history, let’s understand the concept of factorials (!).

Understanding factorials:

Let’s say we have three different chocolate bars and want to arrange them on top of each other. What are the possible ways to organize three different chocolate bars on top of each other?

Could you take a moment to think about it?

Let’s first use a visual approach to understand this. In the following image, we have arranged three different chocolate bars in different ways.

Arranging three different Chocolate Bars in all Possible Ways

Can you think of any other way of organizing these chocolate bars that will give us a different arrangement?

If not, there are only six (6) ways to arrange three (3) different chocolate bars on top of each other.

Now, let’s think about it more analytically!

  • Here we have three chocolate bars β€” Green, Blue, and Pink.
  • We aim to stack these chocolate bars on top of each other and see how many different arrangements are possible.
  • Initially, we had three different positions available to place the chocolate bars. Let’s name the positions A, B, and C. (Uh! Why can’t I come up with better variable names)
  • Now, let’s pick a chocolate bar for position A. We have all three (3) chocolate bars available. So, we have three choices for position A.
  • For position B, we have only two (2) chocolate bars available to choose from.
  • Similarly, we have only one (1) chocolate bar available for position C.
  • In conclusion, we will have 3*2*1 = 6 different arrangements available. We can represent 3*2*1 = 6 as 3! (3 factorial).

What does this mean?

We can arrange n different items in n! different ways.

Now, let’s apply this concept to a deck of cards.

Instead of three (3) chocolate bars, we have 52 cards. So, we can simply say that we can arrange a deck of cards in 52! ways.

So, what is 52! in simple terms?

52! = 8.0658175e+67 = 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000.

What’s the world’s population?

According to world bank, the current world population is approximately 7.888 billion. What an insignificant number!

7.888B = 7.888 * 10⁹ = 7,888,000,000

What’s your point?

It means that there still might be an arrangement of a standard deck of cards that has not yet been shuffled even though each living person on the planet earth has flipped a deck of cards 10⁡⁷ = 1,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 times in their lifetime! Fascinating, isn’t it?

How?

If we divide 52! by the world population, we get 1.0225*10⁡⁷. It means that even if each living person on the planet earth has flipped a deck of cards 10⁡⁷ times, there will still be an arrangement not yet shuffled.

So, what are you waiting for? Go shuffle a deck of cards and make history!

We hope you enjoyed reading this! We will make sure to come up with another fascinating piece soon! Later!

Buy Pratik a Coffee!

This blog wouldn’t be possible without giphy.com.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓