<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2022.1311055</article-id><article-id pub-id-type="publisher-id">AM-121213</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Probability of Matching All Types of Prizes for the First Time Is Maximized at a Surprisingly Early Number of Trials
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Motohisa</surname><given-names>Osaka</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Basic Science, Nippon Veterinary and Life Science University, Tokyo, Japan</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>11</month><year>2022</year></pub-date><volume>13</volume><issue>11</issue><fpage>869</fpage><lpage>877</lpage><history><date date-type="received"><day>23,</day>	<month>October</month>	<year>2022</year></date><date date-type="rev-recd"><day>12,</day>	<month>November</month>	<year>2022</year>	</date><date date-type="accepted"><day>15,</day>	<month>November</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Suppose that when money or coins are placed in a box containing an arbitrary number of prizes of several different types, one of each type of prize will appear alone each time. Is the probability that all types of prizes will be together for the first time maximized when the majority of prizes are removed from the box? Simulations based on probability theory show that this probability reaches its maximum value in a surprisingly small number of trials, contrary to expectations. This will help us understand not only mathematical phenomena, but also real-world phenomena. Phenomena that do not occur without several substances or conditions seem unlikely to occur, but the results of this study suggest that, contrary to expectations, they are surprisingly likely to occur probabilistically.
 
</p></abstract><kwd-group><kwd>Probability</kwd><kwd> Prize</kwd><kwd> Gacha&lt;sup&gt;&amp;#174;&lt;/sup&gt;</kwd><kwd> Game</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In the various events that occur in this world, we are sometimes surprised by the unexpected things that seem unlikely to happen at first glance [<xref ref-type="bibr" rid="scirp.121213-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.121213-ref2">2</xref>] . Such seemingly mysterious events are often explainable when considered from the perspective of probability theory. Probability theory is necessary to understand phenomena that occur with high frequency contrary to expectations, but the theoretical analysis is limited and often requires analysis by numerical simulation [<xref ref-type="bibr" rid="scirp.121213-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.121213-ref9">9</xref>] . For example, if you roll the dice 1200 times without cheating, the numbers 1 through 6 will appear almost equally 200 times; if you roll the dice 12 times, each number will not appear evenly twice, and there will be a large bias in the proportion of the number of times each number appears. This example shows that unexpected things can happen in a short span of time. A typical example of this is when the phenomenon follows the Poisson processes. Traffic accidents are generally considered to follow this process. It is customary for the number of traffic accidents to be relatively concentrated in a given month, even when the number of traffic accidents on an annual basis is nearly constant [<xref ref-type="bibr" rid="scirp.121213-ref10">10</xref>] . Therefore, Poisson processes are said to be the flower of probability theory because it yields interesting results in understanding the phenomenon.</p><p>The topics that will be discussed in this study are based on experience that happens unexpectedly. Gacha<sup>&#174;</sup> is a form of purchase of capsules containing prizes and is a registered trademark of T-ARTS Company, Ltd. It is commonly referred to as gacha-gacha in a friendly way. For example, a box contains several capsules of different types, and when a certain amount of money or coins is put in, a capsule comes out. Each capsule contains one prize. Especially in Japan, Gacha and similar machines are very popular, and it is common to see them all lined up at the same time in train stations. This popularity can be attributed to Gacha<sup>&#174;</sup>’s unique characteristics. The main feature of Gacha<sup>&#174;</sup> is that you cannot select the contents of the capsule, and you do not know what is in the capsule until you take it out. Therefore, various coined words have been derived. For example, the term “gacha parent” has come to be used. This means that children cannot choose their parents, and their fate depends on whether their parents are “good or bad”. In social games, there are also many item-based payment schemes that resemble Gacha<sup>&#174;</sup>.</p><p>It is thought that the most enjoyable part for Gacha<sup>&#174;</sup> users is collecting all types of prizes. For example, if a box contains four types of famous Disney<sup>&#174;</sup> characters, users will try to collect all of them. However, since the user does not know which character will appear each time, he/she will have to repeatedly insert money or coins into the box to play the game. Such unique features of Gacha<sup>&#174;</sup> are versatile features that are not limited to the game world. For example, in order for a certain disease to develop, a set of etiological factors must be present. What is the probability that a certain set of factors will be available? The purpose of this study is to show from probability theory and numerical simulation, using the game Gacha<sup>&#174;</sup> as an example, that phenomena that do not occur unless several factors are all in line are, contrary to expectations, relatively likely to occur.</p></sec><sec id="s2"><title>2. Methods</title><p>The total number of prizes, K, in a box is arbitrary, but for the sake of brevity and without loss of generality, we assume that there are 24 prizes in a box. Twenty-four is a natural number with many divisors, so it is a very useful number as follows. That is, if there are the same number of prizes of the same type, the total number of prizes can be considered without changing the total number of prizes: 12 each for 2 types, 8 each for 3 types, 6 each for 4 types, 4 each for 6 types, 3 each for 8 types, and 2 each for 12 types, and so on. In this study, 3, 4, and 6 types were considered. In other cases, it is considered that no generality would be lost by omitting these results since they could be inferred from these results.</p><p>Assumptions are summarized below.</p><p>There are N types of prizes in the box. The number of each prize is n<sub>i</sub>: i = 1, 2, …, N.</p><p>∑ i = 1 N n i = K .   ( K = 24 ) (1)</p><p>The game ends when all the types are matched for the first time by repeatedly drawing one prize from the box each time. In other words, the game ends when (N − 1) types have been aligned just before the end of the game and one of the remaining type is drawn. The R-th attempt is the first time all types of prizes are available. The last prize drawn is the g-th type (1 ≤ g ≤ N). At that time, there are m i R prizes of the i-th type in hand: { m i R }.</p><p>∑ i = 1 N m i R = R ; N ≤ R ≤ ( K − ( n g − 1 ) ) . (2)</p><p>Then, 1 ≤ m i R ≤ n i , and m g R = 1.</p><p>The probability, P({ m i R }) that this happens is</p><p>P ( { m i R } ) = n g ( K − ( R − 1 ) ) ( K R − 1 ) ∏ i R ≠ g R ( n i m i R ) (3)</p><p>The sum of Equation (3) for all { m i R } combinations that satisfy the conditions of Equation (2) is denoted by P<sub>R</sub>. Since P R ; N ≤ R ≤ ( K − ( n g − 1 ) ) are mutually exclusive, the probability that all types of the prizes are aligned for the first time in up to R trials is expressed as the cumulative sum of P<sub>R</sub>, CP<sub>R</sub>.</p><p>We analyze the factors that affect the probability that all types of the prizes will be matched for the first time as follows.</p><p>1) The box initially contains a total of 24 prizes.</p><p>2) The effect of the number of prize types on the probability is studied for 3, 4 and 6 types of prizes.</p><p>3) The effect on the probability of the initial allocation of each type of prize is studied.</p></sec><sec id="s3"><title>3. Results</title><p>As the initial distribution shifts from (8, 8, 8) to (6, 6, 6, 6) to (4, 4, 4, 4, 4, 4), the probability that all types are aligned for the first time shifts toward the higher number of trials, but the probability that all types are aligned is relatively high at the beginning (Figures 1(a)-3(a)). As the distribution changed from (8, 8, 8) to (6, 6, 6, 6) to (4, 4, 4, 4, 4, 4), the number of each type decreases, and the number of attempts when CP<sub>R</sub> reached 95% or more increases accordingly (Figures 1(b)-3(b)).</p><p>As the distribution changes from (4, 8, 12) to (3, 5, 6, 10) to (1, 2, 3, 4, 5, 9),</p><p>the bias in the proportion of each type increases, but the probability of having all types for the first time is greatest when the number of trials is relatively small (Figures 1(c)-3(c)). Thus, as the percentage bias of each type increases, the number of attempts when the CP<sub>R</sub> reached 95% increases (Figures 1(d)-3(d)).</p></sec><sec id="s4"><title>4. Discussion</title><p>Although the examples examined in this study are few, it is generally clear that the probability of getting all types of prizes for the first time is maximized rather early, even if the box contains an arbitrary number of different types of prizes in an arbitrary proportion. Even when the number of a certain type is as extremely small as one as in (1, 2, 3, 4, 5, 9), the probability of having all types of prizes for the first time is maximized when about half of the box is removed. It is never the case that the maximum probability is reached when most of prizes in the box are taken out. This is a seemingly unexpected result. However, the probability of almost certainly getting all the types for the first time, i.e. reaching C P R ≥ 0.95 , depends greatly on the distribution of the prizes. The implication of this result is that if there is only one box, the majority of prizes will still have to be removed to ensure that all types of the prizes are available for the first time. Hence, it can be seen that the vendor who manages the boxes should set a large bias in the distribution of the prizes in order to get more sales. An unscrupulous vendor might intentionally not put one type of prize in a box, but this is an out-of-bounds practice. From the user’s point of view, it is better to try similar boxes instead of sticking to one box and trying to get all types of prizes, so as not to waste money or coins. However, when there are many similar boxes, there is a high probability that someone will get all types of prizes surprisingly early if several users start the game at once. For example, in the case of (1, 2, 3, 4, 5, 9), the probability of collecting all types of prizes for the first time is at most 0.07. Then 14 prizes are collected. If there are 15 similar boxes and 15 people start this game at once, there is a very high probability that one of them will be the first to get all the types on the 14th attempt.</p><p>The unique nature of Gacha<sup>&#174;</sup> will help us to understand various phenomena beyond just taking out a few prizes from a box. For example, if we assume that some organic substances are taken into a certain cell in a living organism and a certain combination is generated and transformed into a toxic substance, a toxic substance will be generated by one of the cells rather easily because there are so many cells similar to this cell. Furthermore, the unique properties of Gacha<sup>&#174;</sup> will be useful for understanding not only material phenomena but also social phenomena. Let us assume that a conflict occurs when several conditions are met. Since there are many communities in the world, it is not unlikely that some of them will have a conflict under certain conditions.</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Osaka, M. (2022) Probability of Matching All Types of Prizes for the First Time Is Maximized at a Surprisingly Early Number of Trials. Applied Mathematics, 13, 869-877. https://doi.org/10.4236/am.2022.1311055</p></sec></body><back><ref-list><title>References</title><ref id="scirp.121213-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2014) Probability Theory Predicts That Chunking into Groups of Three or Four Items Increases the Short-Term Memory Capacity. Applied Mathematics, 5, 1474-1484. https://doi.org/10.4236/am.2014.510140</mixed-citation></ref><ref id="scirp.121213-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2017) Probability Theory Predicts That Group Survival May Be Guaranteed for Groups with More Than 10 Elements. Applied Mathematics, 8, 1745-1760. https://doi.org/10.4236/am.2017.812125</mixed-citation></ref><ref id="scirp.121213-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Nicolis, J.S. and Tsuda, I. (1985) Chaotic Dynamics of Information Processing: The “Magic Number Seven Plus-Minus Two” Revisited. Bulletin Mathematical Biology, 47, 343-365.</mixed-citation></ref><ref id="scirp.121213-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Satty, T.L. and Ozdemir, M.S. (2003) Why the Magic Number Seven plus or minus Two. Mathematical and Computer Modelling, 38, 233-244. https://doi.org/10.1016/S0895-7177(03)90083-5</mixed-citation></ref><ref id="scirp.121213-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Blom, G., Holst, L. and Sandell, D. (1991) Problems and Snapshots from the World of Probability. Springer-Verlag, New York.</mixed-citation></ref><ref id="scirp.121213-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2017) Modified Kuramoto Phase Model for Simulating Cardiac Pacemaker Cell Synchronization. Applied Mathematics, 8, 1227-1238. https://doi.org/10.4236/am.2017.89092</mixed-citation></ref><ref id="scirp.121213-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2019) A Probabilistic Method to Determine Whether the Speed of Light Is Constant. Applied Mathematics, 10, 51-59. https://doi.org/10.4236/am.2019.102005</mixed-citation></ref><ref id="scirp.121213-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2019) A Mathematical Model Reveals That Both Randomness and Periodicity Are Essential for Sustainable Fluctuations in Stock Prices. Applied Mathematics, 10, 383-396. https://doi.org/10.4236/am.2019.106028</mixed-citation></ref><ref id="scirp.121213-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. (2021) A Modified Right Helicoid Can Simulate the Inner Structure of the Cochlea in the Hearing Organ of Mammals. Applied Mathematics, 12, 399-406. https://doi.org/10.4236/am.2021.125028</mixed-citation></ref><ref id="scirp.121213-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Osaka, M. and Okamura, M. (2012) Spatiotemporal Patterns of Endangered Species Roadkill: Iriomote Cat-Vehicle Collisions. The Bulletin of Nippon Veterinary and Life Science University, 61, 51-59.</mixed-citation></ref></ref-list></back></article>