Skip to content

Commit 2995e49

Browse files
committed
Built site for gh-pages
1 parent 52ce8d6 commit 2995e49

7 files changed

Lines changed: 39 additions & 87 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
06e003f0
1+
cbc571e3

archive.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ <h5 class="no-anchor card-title listing-title">
779779
</div>
780780
</div></a>
781781
</div>
782-
<div class="g-col-1" data-index="12" data-categories="cHl0aG9uJTJDYm93bGluZw==" data-listing-date-sort="1700982000000" data-listing-file-modified-sort="1775178113358" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="15" data-listing-word-count-sort="2871">
782+
<div class="g-col-1" data-index="12" data-categories="cHl0aG9uJTJDYm93bGluZw==" data-listing-date-sort="1700982000000" data-listing-file-modified-sort="1775228724012" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="15" data-listing-word-count-sort="2812">
783783
<a href="./posts/impossible_bowling/index.html" class="quarto-grid-link">
784784
<div class="quarto-grid-item card h-100 card-left">
785785
<p class="card-img-top"><img src="posts/impossible_bowling/index_files/figure-html/5fe67f81-f378-4258-a005-1914e099b559-1-31ff655b-8ba9-40cd-a9af-7ff1538b1345.png" style="height: 150px;" class="thumbnail-image card-img"/></p>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ <h3 class="no-anchor listing-title">
726726
</a>
727727
</div>
728728
</div>
729-
<div class="quarto-post image-right" data-index="12" data-categories="cHl0aG9uJTJDYm93bGluZw==" data-listing-date-sort="1700982000000" data-listing-file-modified-sort="1775178113358" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="15" data-listing-word-count-sort="2871">
729+
<div class="quarto-post image-right" data-index="12" data-categories="cHl0aG9uJTJDYm93bGluZw==" data-listing-date-sort="1700982000000" data-listing-file-modified-sort="1775228724012" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="15" data-listing-word-count-sort="2812">
730730
<div class="thumbnail"><a href="./posts/impossible_bowling/index.html" class="no-external">
731731

732732
<p class="card-img-top"><img data-src="posts/impossible_bowling/index_files/figure-html/5fe67f81-f378-4258-a005-1914e099b559-1-31ff655b-8ba9-40cd-a9af-7ff1538b1345.png" class="thumbnail-image card-img"/></p>

index.xml

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -23319,38 +23319,15 @@ Note
2331923319
</div>
2332023320
</div>
2332123321
<div class="callout-body-container callout-body">
23322-
<p>I was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games. First let’s consider a single frame (within the first 9 frames). We can count the number of ways to knock down any subset of pins (including all and none):</p>
23323-
<p><img src="https://latex.codecogs.com/png.latex?%0A%5Cbinom%7B5%7D%7B0%7D%20+%20%5Cbinom%7B5%7D%7B1%7D%20+%20%5Cbinom%7B5%7D%7B2%7D%20+%20%5Cbinom%7B5%7D%7B3%7D%20+%20%5Cbinom%7B5%7D%7B4%7D%20+%20%5Cbinom%7B5%7D%7B5%7D%20=%2032%0A"></p>
23324-
<p>For a single frame there are three possibilities:</p>
23325-
<table class="caption-top table">
23326-
<thead>
23327-
<tr class="header">
23328-
<th style="text-align: left;">Frame</th>
23329-
<th style="text-align: left;">Number of Possibilities</th>
23330-
<th style="text-align: left;">description</th>
23331-
</tr>
23332-
</thead>
23333-
<tbody>
23334-
<tr class="odd">
23335-
<td style="text-align: left;">? ? ?</td>
23336-
<td style="text-align: left;">32</td>
23337-
<td style="text-align: left;">All three balls are thrown</td>
23338-
</tr>
23339-
<tr class="even">
23340-
<td style="text-align: left;">X</td>
23341-
<td style="text-align: left;">1</td>
23342-
<td style="text-align: left;">A single ball is thrown, a strike</td>
23343-
</tr>
23344-
<tr class="odd">
23345-
<td style="text-align: left;">? \</td>
23346-
<td style="text-align: left;">31</td>
23347-
<td style="text-align: left;">Two balls are thrown, a spare</td>
23348-
</tr>
23349-
</tbody>
23350-
</table>
23351-
<p>So there are 64 possible ways of bowling a single frame of bowling <em>that is not the tenth frame</em>.</p>
23322+
<p>I was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games.</p>
23323+
<p>First let’s consider a single frame (within the first 9 frames). The order that pins are knocked down – the score per ball – matters because of the way strikes and spares are counted. So we are trying to answer the question “how many ways can 5 pins be divided into 4 categories (hit by ball 1, 2, or 3, or left standing)?” This is the sum of a multinomial and is well known, for <em>n</em> objects divided into <em>m</em> categories, the number of ways is <img src="https://latex.codecogs.com/png.latex?m%5En">: <img src="https://latex.codecogs.com/png.latex?4%5E5%20=%201024"></p>
2335223324
<p>The tenth frame has some extra rules, so lets go through it:</p>
2335323325
<table class="caption-top table">
23326+
<colgroup>
23327+
<col style="width: 25%">
23328+
<col style="width: 45%">
23329+
<col style="width: 29%">
23330+
</colgroup>
2335423331
<thead>
2335523332
<tr class="header">
2335623333
<th style="text-align: left;">Frame</th>
@@ -23361,28 +23338,28 @@ Note
2336123338
<tbody>
2336223339
<tr class="odd">
2336323340
<td style="text-align: left;">? ? ?</td>
23364-
<td style="text-align: left;">32</td>
23365-
<td style="text-align: left;">Anything but a strike or spare in the first two balls</td>
23341+
<td style="text-align: left;">1024</td>
23342+
<td style="text-align: left;">Any combination of the first set of 5 pins</td>
2336623343
</tr>
2336723344
<tr class="even">
2336823345
<td style="text-align: left;">X ? ?</td>
23369-
<td style="text-align: left;">32</td>
23370-
<td style="text-align: left;">First ball a strike, two non strikes</td>
23346+
<td style="text-align: left;">3<sup>5</sup> -1 = 242</td>
23347+
<td style="text-align: left;">Every follow up to a strike except X–, which has already been counted in ???</td>
2337123348
</tr>
2337223349
<tr class="odd">
2337323350
<td style="text-align: left;">X X ?</td>
23374-
<td style="text-align: left;">32</td>
23375-
<td style="text-align: left;">Two strikes, one anything</td>
23351+
<td style="text-align: left;">2<sup>5</sup> -1 = 31</td>
23352+
<td style="text-align: left;">Every follow up to 2 strikes except XX-, which has already been counted in X??</td>
2337623353
</tr>
2337723354
<tr class="even">
2337823355
<td style="text-align: left;">? \ ?</td>
23379-
<td style="text-align: left;">992</td>
23380-
<td style="text-align: left;">A spare (31 options) and anything (32)</td>
23356+
<td style="text-align: left;">2<sup>5</sup> × (2<sup>5</sup>-1) = 992</td>
23357+
<td style="text-align: left;">Every follow up to every spare except ?\- which were counted in ???</td>
2338123358
</tr>
2338223359
</tbody>
2338323360
</table>
23384-
<p>Which gives 1088 possible ways of bowling the 10th frame.</p>
23385-
<p>So this gives a total count of possible 5 pin bowling games of <img src="https://latex.codecogs.com/png.latex?1088%20%5Ctimes%2064%5E9"> which is about <img src="https://latex.codecogs.com/png.latex?2%20%5Ctimes%2010%5E%7B19%7D"></p>
23361+
<p>Which gives 2289 possible ways of bowling the 10th frame.</p>
23362+
<p>So this gives a total count of possible 5 pin bowling games of <img src="https://latex.codecogs.com/png.latex?2289%20%5Ctimes%201024%5E9"> which is about <img src="https://latex.codecogs.com/png.latex?2.8%20%5Ctimes%2010%5E%7B30%7D"></p>
2338623363
</div>
2338723364
</div>
2338823365
</section>

posts/impossible_bowling/index.html

Lines changed: 17 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -489,40 +489,15 @@ <h2 class="anchored" data-anchor-id="trying-everything">Trying everything</h2>
489489
</div>
490490
</div>
491491
<div class="callout-body-container callout-body">
492-
<p>I was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games. First let’s consider a single frame (within the first 9 frames). We can count the number of ways to knock down any subset of pins (including all and none):</p>
493-
<p><span class="math display">\[
494-
\binom{5}{0} + \binom{5}{1} + \binom{5}{2} + \binom{5}{3} + \binom{5}{4} + \binom{5}{5} = 32
495-
\]</span></p>
496-
<p>For a single frame there are three possibilities:</p>
497-
<table class="caption-top table">
498-
<thead>
499-
<tr class="header">
500-
<th style="text-align: left;">Frame</th>
501-
<th style="text-align: left;">Number of Possibilities</th>
502-
<th style="text-align: left;">description</th>
503-
</tr>
504-
</thead>
505-
<tbody>
506-
<tr class="odd">
507-
<td style="text-align: left;">? ? ?</td>
508-
<td style="text-align: left;">32</td>
509-
<td style="text-align: left;">All three balls are thrown</td>
510-
</tr>
511-
<tr class="even">
512-
<td style="text-align: left;">X</td>
513-
<td style="text-align: left;">1</td>
514-
<td style="text-align: left;">A single ball is thrown, a strike</td>
515-
</tr>
516-
<tr class="odd">
517-
<td style="text-align: left;">? \</td>
518-
<td style="text-align: left;">31</td>
519-
<td style="text-align: left;">Two balls are thrown, a spare</td>
520-
</tr>
521-
</tbody>
522-
</table>
523-
<p>So there are 64 possible ways of bowling a single frame of bowling <em>that is not the tenth frame</em>.</p>
492+
<p>I was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games.</p>
493+
<p>First let’s consider a single frame (within the first 9 frames). The order that pins are knocked down – the score per ball – matters because of the way strikes and spares are counted. So we are trying to answer the question “how many ways can 5 pins be divided into 4 categories (hit by ball 1, 2, or 3, or left standing)?” This is the sum of a multinomial and is well known, for <em>n</em> objects divided into <em>m</em> categories, the number of ways is <span class="math inline">\(m^n\)</span>: <span class="math inline">\(4^5 = 1024\)</span></p>
524494
<p>The tenth frame has some extra rules, so lets go through it:</p>
525495
<table class="caption-top table">
496+
<colgroup>
497+
<col style="width: 25%">
498+
<col style="width: 45%">
499+
<col style="width: 29%">
500+
</colgroup>
526501
<thead>
527502
<tr class="header">
528503
<th style="text-align: left;">Frame</th>
@@ -533,28 +508,28 @@ <h2 class="anchored" data-anchor-id="trying-everything">Trying everything</h2>
533508
<tbody>
534509
<tr class="odd">
535510
<td style="text-align: left;">? ? ?</td>
536-
<td style="text-align: left;">32</td>
537-
<td style="text-align: left;">Anything but a strike or spare in the first two balls</td>
511+
<td style="text-align: left;">1024</td>
512+
<td style="text-align: left;">Any combination of the first set of 5 pins</td>
538513
</tr>
539514
<tr class="even">
540515
<td style="text-align: left;">X ? ?</td>
541-
<td style="text-align: left;">32</td>
542-
<td style="text-align: left;">First ball a strike, two non strikes</td>
516+
<td style="text-align: left;">3<sup>5</sup> -1 = 242</td>
517+
<td style="text-align: left;">Every follow up to a strike except X–, which has already been counted in ???</td>
543518
</tr>
544519
<tr class="odd">
545520
<td style="text-align: left;">X X ?</td>
546-
<td style="text-align: left;">32</td>
547-
<td style="text-align: left;">Two strikes, one anything</td>
521+
<td style="text-align: left;">2<sup>5</sup> -1 = 31</td>
522+
<td style="text-align: left;">Every follow up to 2 strikes except XX-, which has already been counted in X??</td>
548523
</tr>
549524
<tr class="even">
550525
<td style="text-align: left;">? \ ?</td>
551-
<td style="text-align: left;">992</td>
552-
<td style="text-align: left;">A spare (31 options) and anything (32)</td>
526+
<td style="text-align: left;">2<sup>5</sup> × (2<sup>5</sup>-1) = 992</td>
527+
<td style="text-align: left;">Every follow up to every spare except ?\- which were counted in ???</td>
553528
</tr>
554529
</tbody>
555530
</table>
556-
<p>Which gives 1088 possible ways of bowling the 10th frame.</p>
557-
<p>So this gives a total count of possible 5 pin bowling games of <span class="math inline">\(1088 \times 64^9\)</span> which is about <span class="math inline">\(2 \times 10^{19}\)</span></p>
531+
<p>Which gives 2289 possible ways of bowling the 10th frame.</p>
532+
<p>So this gives a total count of possible 5 pin bowling games of <span class="math inline">\(2289 \times 1024^9\)</span> which is about <span class="math inline">\(2.8 \times 10^{30}\)</span></p>
558533
</div>
559534
</div>
560535
</section>

search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@
11031103
"href": "posts/impossible_bowling/index.html#trying-everything",
11041104
"title": "Impossible bowling",
11051105
"section": "Trying everything",
1106-
"text": "Trying everything\nWhile hanging out at the lanes a few obvious impossible scores got thrown out: a 1, obviously, but also a 449 – there’s no way to throw a 14 with the last ball in the tenth frame. But the question still lingered: are there any other gaps? It was not immediately obvious, to my bowling team, how you would figure that out without checking.\nMaybe we can brute-force this and try every conceivable bowling game? However there are a lot of possible bowling games. As a first pass, there are thirty balls thrown in a game and each ball has up to fourteen possible pinfall scores (0 through 15 excluding 1 and 14). This would give 1430 possible bowling games. Even if it took a single nanosecond to evaluate each game that would take longer than the current age of the universe to work through.\nBut that’s not a great upper bound, it doesn’t take into account the rules of bowling: you can only knock down up to five pins in any given frame, for example if the first ball scores a 13 then the second ball doesn’t get to choose from fourteen possibilities, it gets to chose from two: 0 and 2. Still, it is going to be a large number. The vast majority of those games are going to be completely redundant, since we are only looking for scores from 2 to 450.\n\n\n\n\n\n\nNote\n\n\n\nI was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games. First let’s consider a single frame (within the first 9 frames). We can count the number of ways to knock down any subset of pins (including all and none):\n\\[\n\\binom{5}{0} + \\binom{5}{1} + \\binom{5}{2} + \\binom{5}{3} + \\binom{5}{4} + \\binom{5}{5} = 32\n\\]\nFor a single frame there are three possibilities:\n\n\n\nFrame\nNumber of Possibilities\ndescription\n\n\n\n\n? ? ?\n32\nAll three balls are thrown\n\n\nX\n1\nA single ball is thrown, a strike\n\n\n? \\\n31\nTwo balls are thrown, a spare\n\n\n\nSo there are 64 possible ways of bowling a single frame of bowling that is not the tenth frame.\nThe tenth frame has some extra rules, so lets go through it:\n\n\n\nFrame\nNumber of Possibilities\ndescription\n\n\n\n\n? ? ?\n32\nAnything but a strike or spare in the first two balls\n\n\nX ? ?\n32\nFirst ball a strike, two non strikes\n\n\nX X ?\n32\nTwo strikes, one anything\n\n\n? \\ ?\n992\nA spare (31 options) and anything (32)\n\n\n\nWhich gives 1088 possible ways of bowling the 10th frame.\nSo this gives a total count of possible 5 pin bowling games of \\(1088 \\times 64^9\\) which is about \\(2 \\times 10^{19}\\)"
1106+
"text": "Trying everything\nWhile hanging out at the lanes a few obvious impossible scores got thrown out: a 1, obviously, but also a 449 – there’s no way to throw a 14 with the last ball in the tenth frame. But the question still lingered: are there any other gaps? It was not immediately obvious, to my bowling team, how you would figure that out without checking.\nMaybe we can brute-force this and try every conceivable bowling game? However there are a lot of possible bowling games. As a first pass, there are thirty balls thrown in a game and each ball has up to fourteen possible pinfall scores (0 through 15 excluding 1 and 14). This would give 1430 possible bowling games. Even if it took a single nanosecond to evaluate each game that would take longer than the current age of the universe to work through.\nBut that’s not a great upper bound, it doesn’t take into account the rules of bowling: you can only knock down up to five pins in any given frame, for example if the first ball scores a 13 then the second ball doesn’t get to choose from fourteen possibilities, it gets to chose from two: 0 and 2. Still, it is going to be a large number. The vast majority of those games are going to be completely redundant, since we are only looking for scores from 2 to 450.\n\n\n\n\n\n\nNote\n\n\n\nI was thinking about this some more and there is a different way of looking at this that gives a better estimate for the number of possible games.\nFirst let’s consider a single frame (within the first 9 frames). The order that pins are knocked down – the score per ball – matters because of the way strikes and spares are counted. So we are trying to answer the question “how many ways can 5 pins be divided into 4 categories (hit by ball 1, 2, or 3, or left standing)?” This is the sum of a multinomial and is well known, for n objects divided into m categories, the number of ways is \\(m^n\\): \\(4^5 = 1024\\)\nThe tenth frame has some extra rules, so lets go through it:\n\n\n\n\n\n\n\n\nFrame\nNumber of Possibilities\ndescription\n\n\n\n\n? ? ?\n1024\nAny combination of the first set of 5 pins\n\n\nX ? ?\n35 -1 = 242\nEvery follow up to a strike except X–, which has already been counted in ???\n\n\nX X ?\n25 -1 = 31\nEvery follow up to 2 strikes except XX-, which has already been counted in X??\n\n\n? \\ ?\n25 × (25-1) = 992\nEvery follow up to every spare except ?\\- which were counted in ???\n\n\n\nWhich gives 2289 possible ways of bowling the 10th frame.\nSo this gives a total count of possible 5 pin bowling games of \\(2289 \\times 1024^9\\) which is about \\(2.8 \\times 10^{30}\\)"
11071107
},
11081108
{
11091109
"objectID": "posts/impossible_bowling/index.html#nothing-fancy",

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
</url>
115115
<url>
116116
<loc>https://aefarrell.github.io/posts/impossible_bowling/index.html</loc>
117-
<lastmod>2026-04-03T01:01:53.358Z</lastmod>
117+
<lastmod>2026-04-03T15:05:24.012Z</lastmod>
118118
</url>
119119
<url>
120120
<loc>https://aefarrell.github.io/posts/vessel_blowdown_dispersion/index.html</loc>

0 commit comments

Comments
 (0)