Pigeon Hole Game Theory

For search ' game theory', query time: 0.02s. Performance Benchmarking: Measuring and Managing Performance /.

The pigeonhole principle states that if (n) pigeons (or any other items) are placed into (m) holes and (n gt m,) then at least one hole must contain more than one pigeon. Respectively, if there are more holes than pigeons (left( {n lt m} right),) some holes are empty.

If (A) is a set of pigeons and (B) is a set of pigeonholes, then the mapping of pigeons to pigeonholes can be described by a function (f: A to B.) It is clear that (A) and (B) can be arbitrary finite sets.

The following statements are true:

  1. If (left| A right| gt left| B right|,) then the function (f: A to B) is not injective.
  2. If (left| A right| lt left| B right|,) then the function (f: A to B) is not surjective.

A more general version of the pigeonhole principle is formulated as follows:

For any (n,m in mathbb{N},) if (n) objects are distributed among (m) sets, then at least one set must hold at least (leftlceil {large{frac{n}{m}}normalsize} rightrceil) objects, where (lceil cdot rceil) denotes the ceiling function.

Examples

Birthday Problem

Suppose there are (40) students in a class. Is there a month in the year in which at least (4) students were born?

There are (40) students for (12) months. Let the students be “items”, and the months be “boxes”. So we have (n = 40,) (m = 12.) By the generalized pigeonhole principle, there exists at least one box (month) containing at least (leftlceil {large{frac{n}{m}}normalsize} rightrceil) items (students). Substituting (n) and (m,) we get

[leftlceilfrac{n}{m}rightrceil = leftlceilfrac{{40}}{{12}}rightrceil = leftlceil3frac{1}{3}rightrceil = 4.]

Thus, there is a month in which at least (4) students have a birthday.

Apples in Boxes

There are (25) boxes with three varieties of apples. Each box contains only one kind of apples. Prove that there are at least (9) boxes with apples of the same variety.

Let the boxes be “pigeons” and the variety of apples be “holes”. Using the generalized pigeonhole principle with (n = 25) and (m = 3,) we obtain:

[leftlceilfrac{n}{m}rightrceil = leftlceilfrac{{25}}{{3}}rightrceil = leftlceil8frac{1}{3}rightrceil = 9.]

Hence, there are at least (9) crates of the same apple variety.

Football Tournament

Suppose there are (n) teams participating in a football tournament where each team plays with every other team. Prove that, at any intermediate moment of the tournament, there are always two teams that have played the same number of matches.

We will consider the teams as “pigeons” and the number of matches played as “pigeonholes”. It is obvious that the number of games played by a team can vary from (0) to (n – 1.) Note that if there is a team that has played (n – 1) matches, then no other team will be idle. So, we have (n) pigeons and (n – 1) holes, where (n ge 1.)

By the pigeonhole principle, there will always be two teams that have played an identical number of matches.

Solved Problems

Click or tap a problem to see the solution.

Example 1

Prove that any set of (6) distinct natural numbers contains two numbers whose difference is divisible by (5.)

Example 2

The cells of a (3 times 3) array contain numbers (-1, 0, 1.) Prove that at least two of the eight sums on rows, columns and main diagonals are equal.

Example 3

Consider an equilateral triangle with side length (a = 1.) Prove that among any (5) points inside the equilateral triangle, there always exist two points that are within (large{frac{1}{2}}normalsize) units of each other.

Example 4

A (5 times 6) chessboard has 19 squares colored black. Prove that there exists a (2 times 2) square in which at least three cells are colored black.

Pigeon Hole Application

Example 5

Prove that if (7) natural numbers are chosen at random, then the sum of three of them is divisible by (3.)

Example 6

Prove that if the integers (m) and (n) are coprime, then there is a natural number (k) such that (m^k – 1) is divisible by (n.)

Example 1.

Prove that any set of (6) distinct natural numbers contains two numbers whose difference is divisible by (5.)

Solution.

When a number is divided by (5,) it can have (5) different remainders: (0,1,2,3,4.) We have (6) distinct numbers. Therefore, by the pigeonhole principle, at least two of them have the same remainder. The difference of these two numbers has remainder (0) when divided by (5,) that is, it is divisible by (5.)

Example 2.

The cells of a (3 times 3) array contain numbers (-1, 0, 1.) Prove that at least two of the eight sums on rows, columns and main diagonals are equal.

Solution.

Each of these (8) sums can take the following (7) values:

[ – 3, – 2, – 1,0,1,2,3.]

According to the pigeonhole principle, at least two sums must coincide.

Example 3.

Consider an equilateral triangle with side length (a = 1.) Prove that among any (5) points inside the equilateral triangle, there always exist two points that are within (large{frac{1}{2}}normalsize) units of each other.

Solution.

The midlines of the equilateral triangle divide it into four regular triangles with side (q = large{frac{1}{2}}normalsize.)

By the pigeonhole principle, at least two of the five points will lie inside one of the four triangles.

It is known that the length of a line segment inside a triangle is less than the length of its longest side. Therefore the distance (d) between the two points inside the small triangle is less than (q:)

[d lt q = frac{1}{2}.]

Example 4.

A (5 times 6) chessboard has 19 squares colored black. Prove that there exists a (2 times 2) square in which at least three cells are colored black.

Solution.

We divide the rectangle into (6) equal parts, (5) cells each.

By the generalized pigeonhole principle, there is a part of the chessboard with (4) black cells since

[leftlceilfrac{n}{m}rightrceil = leftlceilfrac{{19}}{{6}}rightrceil = leftlceil3frac{1}{6}rightrceil = 4.]

Then the (2 times 2) square in this part has either (3) or (4) cells colored black.

Example 5.

Prove that if (7) natural numbers are chosen at random, then the sum of three of them is divisible by (3.)

Solution.

When divided by (3,) the remainders can be equal to (0,1,2.) So, using the generalized pigeonhole principle, we find that

[leftlceilfrac{n}{m}rightrceil = leftlceilfrac{{7}}{{3}}rightrceil = leftlceil2frac{1}{3}rightrceil = 3.]

This means that there are (3) numbers of (7) that have the same remainders. Denote this remainder by (r.) The sum of the three numbers has the combined remainder (3r,) which is divisible by (3.) Hence, these numbers are also divisible by (3.)

Example 6.

Prove that if the integers (m) and (n) are coprime, then there is a natural number (k) such that (m^k – 1) is divisible by (n.)

Pigeon Hole Game Theory Games

Solution.

Consider (n + 1) numbers

[{{m^0} – 1,;{m^1} – 1,;{m^2} – 1,; ldots ,;}kern0pt{{m^n} – 1.}]

By the pigeonhole principle, there are (2) numbers that have the same remainder when divided by (n.) Let these numbers be

[{m^a} – 1 text{ and } {m^b} – 1,]

where (a lt b.)

Then their difference

[{left( {{m^b} – 1} right) – left( {{m^a} – 1} right) }={ {m^b} – {m^a} }={ {m^a}left( {{m^{b – a}} – 1} right)}]

is also divisible by (n.) The first factor (m^a) is not divisible by (n) because (m) and (n) are coprime. Hence, the number (m^k – 1 = m^{b – a} – 1) is divisible by (n.)

As stated in our Privacy Policy, Wikimedia believes strongly in the values of privacy and transparency. To that end, we’ve created this Cookie Statement as a clear reference guide to the use of cookies on Wikimedia Sites. This Cookie Statement explains how we use cookies (and other locally stored data technologies), how we use third-party cookies, and how you can manage your cookie options. For more information on our privacy practices, please visit our Privacy Policy.

The Wikimedia Foundation, the non-profit organization that hosts the Wikimedia Sites, actively collects some types of information with a variety of commonly-used technologies. These generally include tracking pixels, JavaScript, and a variety of 'locally stored data' technologies, such as cookies and local storage.

What is a cookie?

A “cookie” is a tiny data file that we transfer onto your computer, mobile phone, or any other device that you use to access the Wikimedia Sites, and is generally used for authentication and tracking. Every cookie expires after a certain period of time, but that period varies depending on what the cookie is used for and how your browser is configured.

Cookies are often categorized based on how long they remain active before they expire. A “session” cookie is one that generally expires when you close your web browser or mobile application. A “persistent” cookie is one that remains in your device, even after you close your browser or mobile application. A persistent cookie expires according to the duration set by us, or when you delete it manually. You can learn more about cookies on Wikipedia.

You may remove or disable cookies through your browser settings. For more information on how to manage your cookie options, please see Section 3 of this Cookie Statement below.

Pigeon hole meaning

For more information on this and other key terms that may be relevant, please read through our Privacy Policy Glossary.

What types of cookies does Wikimedia use and for what purposes?

Cookies are not required in order to read or edit the Wikimedia Sites. We use the information we receive from cookies and other locally-stored data technologies to make your experience with the Wikimedia Sites safer and better, to gain a greater understanding of user preferences and interactions with the Wikimedia Sites, and to generally improve our services. Cookies are required in order to login and for your edits to be associated to a user account; without cookies, your edits will be anonymous and unassociated with an account.

We use cookies, JavaScript, tracking pixels, and other locally-stored data technologies to accomplish different purposes. Below is a list of the categories of cookies we use and what they are used for.

Functionality:

These cookies help the Wikimedia Sites work and are essential in order to enable you to move around the Wikimedia site and use their features. These cookies are useful for remembering your username in the login field, maintaining your session and remembering previous actions, keeping you logged in (if selected), and more.

Here are a few examples:

NameExpiresCategoryWhat does it do?
centralauth_Token

{$wgCookiePrefix}* Token

365 days, if the user chooses ‘Keep me logged in’. Otherwise omitted.FunctionalityProvides ‘Keep me logged in’ functionality.
{$wgCookiePrefix}* UserID, UserName365 days, if the user chooses ‘Keep me logged in’. Otherwise 30 days.FunctionalityHelps identify you to the wiki, and keeps you logged in.
loginnotify_prevlogins180 daysFunctionalityVerifies that you are logging in from a known device.

This affects the threshold for how many unsuccessful login attempts trigger a notification to the user.

centralauth_Session

{$wgCookiePrefix}* Session

When user exits browserFunctionalityManage sessions. Provides functionality such as logging in to Wikimedia Projects.

Preferences:

These cookies store your preferences, so that they can be remembered the next time you use the Wikimedia Sites, for a more customized experience. These cookies are useful for recognizing and maintaining your language preference, remembering changes you have made to text size, fonts and other display preferences, so we can provide you with the look and feel that you want, and more.

Pigeon hole game theory suggests

Here are a few examples:

NameExpiresCategoryWhat does it do?
stopMobileRedirect30 daysPreferencesTells us not to redirect to the mobile site if you don’t like that.
uls-preferencesLocal Storage, not a cookiePreferencesAllows you to set preferences for the Universal Language Selector functionality.
hidewatchlistmessage- [watchlistMessageId]

● where watchlistMessageld is the Id of the message being hidden

28 daysPreferencesAllows a user to hide a watchlist message.
userFontSizeLocal Storage, not a cookiePreferencesKeeps track of your preferred font size on the mobile site.
preferredEditorLocal Storage, not a cookiePreferencesKeeps track of your preferred editor on the mobile site.

Performance and Analysis:

These cookies count the number of visitors and collect information about how you use the Wikimedia Sites. This allows us to better understand your user experience on the Wikimedia Sites and helps us improve them for you and other users — for instance, by making sure users are finding what they need easily. Other examples include:

  • remembering pages visited, and actions taken on the Wikimedia sites so we can optimize the pages;
  • remembering if users get error messages from web pages;
  • storing your most recently read articles directly on your device, so they can be retrieved quickly;
  • remembering the topics searched so that we can optimize the search results we deliver to you;
  • remembering the list of articles you are following on your watchlist so that we can recommend similar articles that you may be interested in.

Here are a few examples:

NameExpiresCategoryWhat does it do?
centralnotice_bucket7 daysPerformance and AnalysisHelps us understand the effectiveness of notices provided to users through the CentralNotice extension. For more details, see https://www.mediawiki.org/wiki/Extension:CentralNotice
ext.popups.core.previewCountLocal Storage, not a cookiePerformance and AnalysisHelps us understand the effectiveness of Hovercards.
WMF-Last-Access30 daysPerformance and AnalysisHelps us calculate Unique devices accessing our site. See: https://blog.wikimedia.org/2016/03/30/unique-devices-dataset/

Third-Party:

We will never use third-party cookies on our wikis unless we get your permission to do so. These cookies would allow us to render services provided by third parties, such as “like” and “share” buttons. When a third party provides these kinds of services, they may require the use of a cookie in order to provide their services.

If you ever come across a third-party cookie transferred to your device during your access of the Wikimedia wiki sites, where you did not take any action to authorize the use and/or transfer of that cookie (such as one that may have been mistakenly placed by another user or administrator), please report that cookie to us at privacy@wikimedia.org.

A note about Wikimedia sites hosted by WordPress:

Some non-wiki Wikimedia Foundation sites are hosted by a third-party service provider, WordPress VIP. These sites may have the WordPress Stats module enabled. Stats is a service that allows us to understand how many visitors we get to our WordPress-hosted non-wiki sites, their location by country, and which pages, posts and links are the most popular. Only the Wikimedia Foundation and the service provider, Automattic/WordPress, have access to the raw Stats data, which is retained for a maximum of 30 days. For more information about Stats, see WordPress’ support page on the module.

What are my cookie options?

While this is not a comprehensive list, below are some of the things that you can do to limit use of cookies and other locally-stored data technologies on your device. While cookies and other locally-stored data technologies may not be necessary to use our sites, some features may not function properly if you disable them.

You can:

  • remove or disable specific locally-stored data on your browser’s settings (you can reset your web browser to refuse all cookies or to indicate when a cookie is being sent);
  • use a browser that can block third-party cookies; or
  • install a plug-in to block locally-stored data, if one is available.

Turning off the browser’s cookies will prevent tracking pixels from tracking your specific activity. A tracking pixel may still record an anonymous visit from your IP address, but unique information will not be recorded. If you do not want to receive tracking pixels, you will need to disable HTML images in your browser-based email client, and that may affect your ability to view images in other emails that you receive.

Pigeon Hole Game Theory Game

Where can I find more information?

Please read through our Privacy Policy for more information. If you have any further questions, contact privacywikimedia.org.

Thanks!

Please note that in the event of any differences in meaning or interpretation between the original English version of this document and a translation, the original English version takes precedence.

Pigeon Hole Game Theory Suggests

Retrieved from 'https://foundation.wikimedia.org/w/index.php?title=Cookie_statement&oldid=117662'