<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geek Challenge Archives | DMC, Inc.</title>
	<atom:link href="https://static.dmcinfo.com/blog/tag/geek-challenge/feed/index.xml" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Wed, 02 Sep 2026 20:30:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://static.dmcinfo.com/wp-content/uploads/2025/04/site-icon-150x150.png</url>
	<title>Geek Challenge Archives | DMC, Inc.</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>DMC is Competing in the 2025 ROKathon!</title>
		<link>https://static.dmcinfo.com/blog/39611/dmc-is-competing-in-the-2025-rokathon/</link>
		
		<dc:creator><![CDATA[Leon Grossman]]></dc:creator>
		<pubDate>Wed, 05 Nov 2025 16:13:26 +0000</pubDate>
				<category><![CDATA[Allen Bradley PLC]]></category>
		<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[Special Events]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<category><![CDATA[Rockwell Automation Fair]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/?p=39611</guid>

					<description><![CDATA[<p>DMC is excited to be participating in the first-ever ROKathon coding competition at Rockwell’s Automation Fair 2025! The competition will take place over a day and a half, Monday and Tuesday of Automation Fair week, with the winning team announced on Wednesday at 2:30 PM on the Discovery Theater stage. DMC&#8217;s team of experts will [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/39611/dmc-is-competing-in-the-2025-rokathon/">DMC is Competing in the 2025 ROKathon!</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>DMC is excited to be participating in the first-ever ROKathon coding competition at Rockwell’s Automation Fair 2025! </strong></p>



<p class="wp-block-paragraph">The competition will take place over a day and a half, Monday and Tuesday of Automation Fair week, with the winning team announced on Wednesday at 2:30 PM on the Discovery Theater stage.</p>



<p class="wp-block-paragraph">DMC&#8217;s team of experts will be competing against six other teams for honor and glory in a coding challenge that incorporates FactoryTalk Optix, FactoryTalk DataMosaix, FactoryTalk Analytics LogixAI, Studio 5000 Logix Designer, FactoryTalk Historian Site Edition, and Plex.</p>



<figure class="wp-block-image aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="1174" height="458" src="https://static.dmcinfo.com/wp-content/uploads/2025/11/DMC-ROKathon-Team.jpg" alt="DMC ROKathon Team" class="wp-image-39639" style="width:750px;height:auto" srcset="https://static.dmcinfo.com/wp-content/uploads/2025/11/DMC-ROKathon-Team.jpg 1174w, https://static.dmcinfo.com/wp-content/uploads/2025/11/DMC-ROKathon-Team-300x117.jpg 300w, https://static.dmcinfo.com/wp-content/uploads/2025/11/DMC-ROKathon-Team-1024x399.jpg 1024w, https://static.dmcinfo.com/wp-content/uploads/2025/11/DMC-ROKathon-Team-768x300.jpg 768w" sizes="(max-width: 1174px) 100vw, 1174px" /></figure>



<h3 class="wp-block-heading has-text-align-center" id="h-good-luck-to-all-the-teams-competing">Good luck to all the teams competing!</h3>



<div class="wp-block-group alignwide has-white-color has-custom-medium-blue-background-color has-text-color has-background has-link-color wp-elements-2 is-layout-flow wp-container-core-group-is-layout-6e7a77ff wp-block-group-is-layout-flow" style="border-radius:20px;margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60);padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
<div class="wp-block-columns alignwide are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-a55a3181 wp-block-columns-is-layout-flex" style="padding-right:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:80%">
<h3 class="wp-block-heading has-text-align-left has-white-color has-text-color has-link-color wp-elements-3" id="h-attending-automation-fair-let-us-know-we-d-love-to-connect">Attending Automation Fair? Let us know — we&#8217;d love to connect!</h3>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<div class="wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-2236275c wp-block-buttons-is-layout-flex">
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link has-base-contrast-color has-text-color has-link-color wp-element-button" href="https://static.dmcinfo.com/contact/">Contact Us</a></div>
</div>
</div>
</div>
</div>



<div class="wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-26caea90 wp-block-group-is-layout-constrained" style="padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
<div class="wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="padding-right:var(--wp--preset--spacing--30);flex-basis:55%">
<div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow">
<h2 id="h-exploring-the-expo-visit-us-in-booth-752" class="wp-block-heading">Exploring the Expo? Visit us in Booth #752</h2>



<p class="wp-block-paragraph">Stop by our booth to connect with our team, explore our latest automation solutions, and see our custom-built &#8220;Drop Bot&#8221; in action.</p>



<p class="wp-block-paragraph">Test your skills against Drop Bot in a life-sized game of Connect Four or challenge your colleagues to a game.</p>



<p class="wp-block-paragraph"><strong>Will we see you at the show?  Let us know!</strong></p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://static.dmcinfo.com/contact/">Connect with Us</a></div>
</div>
</div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<div class="wp-block-group has-global-padding is-content-justification-left is-layout-constrained wp-container-core-group-is-layout-b4f291b5 wp-block-group-is-layout-constrained">
<figure class="wp-block-image alignright size-full is-resized has-custom-border is-style-rounded is-style-rounded--1"><img decoding="async" width="718" height="539" src="https://static.dmcinfo.com/wp-content/uploads/2025/09/drop-bot.jpg" alt="DMC Drop Bot" class="has-border-color has-custom-white-border-color wp-image-38581" style="aspect-ratio:4/3;object-fit:cover;width:350px;height:auto" srcset="https://static.dmcinfo.com/wp-content/uploads/2025/09/drop-bot.jpg 718w, https://static.dmcinfo.com/wp-content/uploads/2025/09/drop-bot-300x225.jpg 300w" sizes="(max-width: 718px) 100vw, 718px" /></figure>



<figure class="wp-block-image alignleft size-full is-resized has-custom-border is-style-rounded is-style-rounded--2" style="margin-top:-14vh"><img decoding="async" width="734" height="550" src="https://static.dmcinfo.com/wp-content/uploads/2025/09/dmc-rockwell-automation-fair-2024.jpg" alt="dmc rockwell automation fair 2024" class="has-border-color has-custom-white-border-color wp-image-38584" style="border-width:4px;aspect-ratio:4/3;object-fit:cover;width:350px;height:auto" srcset="https://static.dmcinfo.com/wp-content/uploads/2025/09/dmc-rockwell-automation-fair-2024.jpg 734w, https://static.dmcinfo.com/wp-content/uploads/2025/09/dmc-rockwell-automation-fair-2024-300x225.jpg 300w" sizes="(max-width: 734px) 100vw, 734px" /></figure>
</div>
</div>
</div>
</div>



<div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow">
<h2 id="h-dmc-is-a-rockwell-automation-gold-system-integrator" class="wp-block-heading">DMC is a Rockwell Automation Gold System Integrator</h2>



<p class="wp-block-paragraph">DMC has been a proud Rockwell Automation partner since 2011 and is recognized as a <a href="https://static.dmcinfo.com/about/partners/rockwell-automation-gold-system-integrator/">Rockwell Gold System Integrator</a>, a designation awarded to top-tier integrators with demonstrated expertise in delivering Rockwell-based solutions.</p>



<p class="wp-block-paragraph">By combining Rockwell’s industry-leading platforms with DMC’s engineering excellence, we help clients achieve greater efficiency, productivity, and long-term growth.</p>
</div>



<div class="wp-block-group alignwide has-custom-light-blue-background-color has-background is-layout-flow wp-container-core-group-is-layout-dbd34961 wp-block-group-is-layout-flow" style="border-radius:20px;margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
<div class="wp-block-columns alignwide are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-43efaee5 wp-block-columns-is-layout-flex" style="padding-right:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:85%">
<h3 class="wp-block-heading has-text-align-left" id="h-have-an-upcoming-project-dmc-can-help-you-take-the-next-step">See DMC in Action at ROKathon at Automation Fair 2025!</h3>



<p class="has-text-align-left wp-block-paragraph" id="h-need-help-turning-ideas-into-outcomes-automation-project-to-the-next-level-contact-us-today-to-learn-more-about-our-solutions-and-how-we-can-help-you-achieve-your-goals">See how DMC&#8217;s <a href="https://static.dmcinfo.com/about/partners/rockwell-automation-gold-system-integrator/" id="897">Rockwell-certified</a> engineers tackle complex automation challenges. Meet our <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/" data-type="page" data-id="420">Automation</a> team at Automation Fair and Booth #752.</p>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:15%">
<div class="wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-2236275c wp-block-buttons-is-layout-flex">
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link has-base-contrast-color has-text-color has-link-color wp-element-button" href="https://static.dmcinfo.com/contact/">Contact Us</a></div>
</div>
</div>
</div>
</div>
<p>The post <a href="https://static.dmcinfo.com/blog/39611/dmc-is-competing-in-the-2025-rokathon/">DMC is Competing in the 2025 ROKathon!</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge: A Place in the Sun</title>
		<link>https://static.dmcinfo.com/blog/22736/geek-challenge-a-place-in-the-sun/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Fri, 31 Aug 2018 12:56:49 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/22736/geek-challenge-a-place-in-the-sun/</guid>

					<description><![CDATA[<p>You are an engineer on site in Lebanon, Kansas. At sunrise on the vernal equinox, you hop in your hovercar and start driving directly toward the rising sun along the ground at a constant 60 mph. You continue driving in this way until the sun sets. What are your coordinates when you stop driving? Parameters [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/22736/geek-challenge-a-place-in-the-sun/">Geek Challenge: A Place in the Sun</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">You are an engineer on site in Lebanon, Kansas. At sunrise on the vernal equinox, you hop in your hovercar and start driving directly toward the rising sun along the ground at a constant 60 mph. You continue driving in this way until the sun sets.</p>



<p class="wp-block-paragraph">What are your coordinates when you stop driving?</p>



<p class="wp-block-paragraph"><strong>Parameters</strong><br>
•&nbsp;&nbsp; &nbsp;Coordinates of Lebanon, Kansas: 39°48′38″N 98°33′22″W<br>
•&nbsp;&nbsp; &nbsp;Vernal Equinox: September 22, 2018<br>
•&nbsp;&nbsp; &nbsp;Time of Sunrise: 7:22:43 am<br>
•&nbsp;&nbsp; &nbsp;Time of Sunset: 7:30:29 pm</p>



<p class="wp-block-paragraph"><strong>Assumptions</strong><br>
•&nbsp;&nbsp; &nbsp;You experience no change in elevation<br>
•&nbsp;&nbsp; &nbsp;Your hovercar has enough fuel to last the entire drive<br>
&nbsp;</p>



<p class="wp-block-paragraph"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/sunpath.png" alt="Sun path"><br> <em>Sun trajectory </em>(<a href="https://pwg.gsfc.nasa.gov/stargaze/Sfigs/Sunpath2.gif" target="_blank" rel="noreferrer noopener">source</a>)</p>



<p class="wp-block-paragraph"><strong>Bonus Questions</strong><br>
1.&nbsp;&nbsp; &nbsp;Is there any non-zero constant velocity for which you will end up where you started?<br>
2.&nbsp;&nbsp; &nbsp;How can your solution be generalized for different Latitudes and times of the year?</p>



<p class="wp-block-paragraph">Remember to state any additional simplifying assumptions you use in solving this problem!&nbsp;</p>



<p class="wp-block-paragraph"><strong>Submit responses to&nbsp;<a href="mailto:geekchallenge@localhost?subject=Eccentric%20Traveler%20Answer">geekchallenge@localhost</a>&nbsp;by October 9, 2018.</strong></p>



<p class="wp-block-paragraph"><strong><a href="https://static.dmcinfo.com/latest-thinking/blog/articletype/categoryview/categoryid/33/geek-challenge">Check out previous Geek Challenges</a>.</strong></p>
<p>The post <a href="https://static.dmcinfo.com/blog/22736/geek-challenge-a-place-in-the-sun/">Geek Challenge: A Place in the Sun</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge Results: Primetime Telephone Numbers</title>
		<link>https://static.dmcinfo.com/blog/22988/geek-challenge-results-primetime-telephone-numbers/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Thu, 14 Jun 2018 07:41:09 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/22988/geek-challenge-results-primetime-telephone-numbers/</guid>

					<description><![CDATA[<p>In last month&apos;s Geek Challenge, we asked&#160;what number contains 22 primes?&#160; This was a unique problem that needed to utilize at least a little bit of computation (to check if something is prime or not). Luckily, prime calculators are a dime a dozen across the interwebs and many computer languages have a &#8220;prime check&#8221; method [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/22988/geek-challenge-results-primetime-telephone-numbers/">Geek Challenge Results: Primetime Telephone Numbers</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">In <a href="https://static.dmcinfo.com/latest-thinking/blog/id/9621/geek-challenge-primetime-telephone-numbers">last month&apos;s Geek Challenge</a>, we asked&nbsp;what number contains 22 primes?&nbsp;</p>

<p class="wp-block-paragraph">This was a unique problem that needed to utilize at least a little bit of computation (to check if something is prime or not). Luckily, prime calculators are a dime a dozen across the interwebs and many computer languages have a &ldquo;prime check&rdquo; method built in.</p>

<p class="wp-block-paragraph"><strong>Congrats to our winner, Alex Bruno!</strong> A few people commented on the problem being too constrained, giving the amount of included prime numbers made it simple. This was by design! Alex Bruno came up with a way to greatly minimize the amount of prime checks necessary by creating prime-rich building blocks to create a solid foundation. Although 0373373 was not the answer I had in mind, it followed all the&nbsp;rules and was created in a very interesting way.</p>

<p class="wp-block-paragraph">No one submitted an answer for the 10-digit bonus, which was surprisingly different from the 7-digit case it many ways. Heavy optimization is necessary for that to ensure your number crunching doesn&rsquo;t run for days.</p>

<p class="wp-block-paragraph">Thanks for playing! The formal analysis for my solution and Alex&rsquo;s solution are below.</p>

<h2 class="wp-block-heading">Alex Bruno&rsquo;s Solution</h2>

<h6 class="wp-block-heading">A. Overview:</h6>

<p class="wp-block-paragraph">My analysis split into two schools of thought:</p>

<ol class="wp-block-list">
 <li>Brute force it</li>
 <li>Start with smaller numbers as &quot;building blocks&quot; and put them together until we get a big enough number with the correct number of primes.</li>
</ol>

<p class="wp-block-paragraph">Either way, I needed a good way to calculate the number of primes in any given number. I didn&apos;t want to sit and do them all by hand. I wanted to be able to type them into something and have it spit out how many. So, I fired up MATLAB, and banged out a script that would take a number of any size and analyze every possible sub-number and tell me how many primes there were. That script was useful in both approaches.</p>

<h6 class="wp-block-heading">B. Approaches:</h6>

<ol class="wp-block-list">
 <li>Brute Force it</li>
</ol>

<p class="wp-block-paragraph">What it says on the tin. I took the script and replaced the while with a for, and told it to run every single 7-digit number from 100000 to 9999999. Obviously, this took a while (I let it run in the background while I worked the other method). After about 30 minutes, it spit out:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">3733797</p>

<p class="wp-block-paragraph">This is one of my submissions, and, as I&apos;ll explain in a second, is probably the more accurate one.</p>

<ol class="wp-block-list" start="2">
 <li>Building blocks</li>
</ol>

<p class="wp-block-paragraph">There are a possible 28 sub-numbers in a 7-digit number (calculated using the nth triangle number formula, which is a sort of additive factorial function). If we need 22 primes, that means a scant six&nbsp;of them can be non-primes.<br />
To that end, I needed to find building blocks that would have as many primes as possible. I decided to start with 3-digit building blocks (six&nbsp;possible sub-numbers), and came up with the following:</p>

<p class="wp-block-paragraph">Five primes out of six&nbsp;(I started with a list of prime numbers less than 1000):</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">337<br />
353<br />
379<br />
733<br />
773<br />
797</p>

<p class="wp-block-paragraph">Six primes out of six:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">373</p>

<p class="wp-block-paragraph">Obviously, I needed to use 373 as a building block. In fact, I could use it twice, and only need to add one extra digit. This looked like this:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">373 373 _&nbsp;&nbsp; OR&nbsp;&nbsp; 373 _ 373&nbsp;&nbsp;&nbsp;&nbsp; OR&nbsp;&nbsp;&nbsp; _ 373 373</p>

<p class="wp-block-paragraph">This left me with 30 options to run, which was very simple using my code. The only combination that gives me a full 22 primes is:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">0373373</p>

<p class="wp-block-paragraph">This is because the 0 in the front, while not being prime itself, makes several extra primes (since 37 is prime, so is 037, etc.). Even with losing that digit as a prime, it adds several others.</p>

<h6 class="wp-block-heading">C. Conclusion:</h6>

<p class="wp-block-paragraph">So, I have two answers; two 7-digit numbers that have 22 prime sub-numbers. While it is absolutely the more inelegant of the approaches, I would submit the first answer (3733797) as the more correct answer because the prompt for this problem dealt with phone numbers, and I&apos;m not sure they can start with a 0, as with my second answer.</p>

<p class="wp-block-paragraph">I&apos;ll argue that I may have gotten to the first answer using building blocks if I had kept going with that method; the brute force answer does include two of the 3-digit building blocks I found (373 and 379).</p>

<p class="wp-block-paragraph">Unfortunately, I didn&apos;t have time to grapple with the 10-digit optional problem. I can&apos;t imagine doing that either of the two ways I did, so I have to ask, what is the more elegant way to do this? I&apos;m sure there&apos;s some sort of trick, and I would love to know what it is!</p>

<h2 class="wp-block-heading"><br />
My Solution</h2>

<p class="wp-block-paragraph">Prime number calculation is a deeply researched and investigated field of study with many applications and approaches. Because of this, there are some highly efficient methods for calculating primes. We can leverage these approaches to create an efficient computational solution.</p>

<p class="wp-block-paragraph">As described, this challenge involves finding primes within a number, with the added complexity of multiple possible sub-groupings and prime combinations. Any given n-digit number has (((n+1)*n))/2 possible groupings (one&nbsp;set of n consecutive digits, two&nbsp;sets of n-1 consecutive digits and so on down to n sets of one&nbsp;digit, so the total number of groupings is the sum from 1 to n). For any given number, all combinations must be investigated to obtain the number of primes it contains.</p>

<p class="wp-block-paragraph">To avoid excessive calculation, two major computational savings can be applied:</p>

<ol class="wp-block-list">
 <li>Use a prime number sieve (such as the Sieve of Eratosthenes) to pre-calculate all prime numbers within the relevant range (all values less than 〖10〗^(n+1)-1).</li>
 <li>Use memorization to store a record of previously determined number results.</li>
</ol>

<p class="wp-block-paragraph">The first optimization requires creating an array mask of prime/not-prime values. Then, whenever a number is encountered, rather than determining if a number is prime, the corresponding index in the array can be accessed rather than re-calculating the primality of the number. This approach requires greater memory but substantially less computation, especially when many prime computations need to be carried out in a small range. There are several further optimizations that can be applied to the prime number sieve which are not discussed here.</p>

<p class="wp-block-paragraph">The second optimization leverages an observation on the nature of the result for any given number. Consider the graphic provided in the problem statement:<figure class="wp-block-image"><img decoding="async" alt="Geek challenge graph 1" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/geek-challenge-graph-1.png"  /></figure></p>

<p class="wp-block-paragraph">From these graphics, observe that it is possible to get the number of primes in the n-digit case by taking the sum of the n-1 groups, and subtracting the n-2 group shared by both n-1 groups. Alternatively stated, take the sum of the 6-digit number results and subtract the &ldquo;middle&rdquo; 5-digit number case (so 9=6+8-5).</p>

<p class="wp-block-paragraph">Therefore, for any given number with more than two&nbsp;digits, it is not necessary to calculate the number of primes it contains directly from a sum of its groups, but instead can be found by taking a sum of these sub groupings. An important caveat to this approach is that each entry must be considered with leading zeros as a different value than without leading zeros (i.e. in the example given, 07 is unique from 7).</p>

<p class="wp-block-paragraph">Applying these computational observations along with the additional unstated constraint that the n-digit number cannot start with a zero, the best answer was found to be 3733797 with 22 primes (with a total computation time of approximately five&nbsp;seconds). The graphic representation of this is shown as:</p>

<figure class="wp-block-image"><img decoding="async" alt="geek challenge graph 2" id="og:image" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/geek-challenge-graph-2.png"  /></figure>

<h2 class="wp-block-heading">The Bonus Solution</h2>

<p class="wp-block-paragraph">Extending this approach to the 10-digit case requires some code refactoring, because the prime sieve array mask and memorized prior results require data structures with more indices than provided by a single unsigned 32-bit integer. This can be overcome several ways. One possible approach involves creating custom data-structures that act as wrappers on standard data structures and using a 64-bit integer to address locations. Implementing these structures comes at a significant computational and memory access cost, which substantially slows computation time. Consequently, the 10-digit case took approximately 24 hours to solve.</p>

<p class="wp-block-paragraph">The best 10-digit number (with 38 primes out of a possible 55) was found to be 7000373379. A graphical representation of this number is shown below.</p>

<figure class="wp-block-image"><img decoding="async" alt="Geek challenge graph 3" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/geek-challenge-graph-3.png"  /></figure>

<p class="wp-block-paragraph">As an additional interesting note, the distribution of the number of primes in a given number of digits is shown below:</p>

<figure class="wp-block-image"><img decoding="async" alt="Geek challenge graph 4" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/geek-challenge-graph-4.png"  /></figure>

<p class="wp-block-paragraph"><strong>Submit your Geek Challenge questions and ideas at&nbsp;<a href="mailto:geekchallenge@localhost">geekchallenge@localhost</a>.</strong></p>
<p>The post <a href="https://static.dmcinfo.com/blog/22988/geek-challenge-results-primetime-telephone-numbers/">Geek Challenge Results: Primetime Telephone Numbers</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge: Primetime Telephone Numbers</title>
		<link>https://static.dmcinfo.com/blog/23082/geek-challenge-primetime-telephone-numbers/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Wed, 09 May 2018 09:27:27 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/23082/geek-challenge-primetime-telephone-numbers/</guid>

					<description><![CDATA[<p>I was listening to the radio, and some self-proclaimed geek said that her phone number was &quot;seven prime numbers.&quot; At first, I interpreted this as &quot;seven prime digits,&quot; which is probably what she meant. But then it got me thinking, 23 has three prime numbers in it (2, 3, and 23), and 373 contains six [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/23082/geek-challenge-primetime-telephone-numbers/">Geek Challenge: Primetime Telephone Numbers</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">I was listening to the radio, and some self-proclaimed geek said that her phone number was &quot;seven prime numbers.&quot;</p>

<p class="wp-block-paragraph">At first, I interpreted this as &quot;seven prime digits,&quot; which is probably what she meant.</p>

<p class="wp-block-paragraph">But then it got me thinking, 23 has three prime numbers in it (2, 3, and 23), and 373 contains six primes!</p>

<p class="wp-block-paragraph">The most primes you can pack into a seven-digit number is 22, so what number contains 22 primes?&nbsp;</p>

<p class="wp-block-paragraph"><strong>Remember</strong>: neither 0 nor 1 are prime; and 5003 contains 5 primes (5, 3, 03, 003, and 5003).</p>

<p class="wp-block-paragraph"><strong>Bonus</strong>: What if her phone number was ten digits long? How many primes can you&nbsp;pack&nbsp;into a ten digit number?</p>

<p class="wp-block-paragraph"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Example-number-geek-challenge-may-centered.jpg"  /><br />
<i>The number 2765073 contains nine prime numbers</i></p>

<p class="wp-block-paragraph">The solution with the most complete analysis will be this month&apos;s Geek Challenge winner!</p>

<p class="wp-block-paragraph"><strong>Submit responses to&nbsp;<a href="mailto:geekchallenge@localhost?subject=Eccentric%20Traveler%20Answer">geekchallenge@localhost</a>&nbsp;by June 1, 2018.</strong></p>

<p class="wp-block-paragraph"><a href="https://static.dmcinfo.com/latest-thinking/blog/articletype/categoryview/categoryid/33/geek-challenge">Check out any previous Geek Challenges you might have missed!</a></p>
<p>The post <a href="https://static.dmcinfo.com/blog/23082/geek-challenge-primetime-telephone-numbers/">Geek Challenge: Primetime Telephone Numbers</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge Results: The Perfect Bracket</title>
		<link>https://static.dmcinfo.com/blog/24335/geek-challenge-results-the-perfect-bracket/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Wed, 10 May 2017 12:50:09 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/24335/geek-challenge-results-the-perfect-bracket/</guid>

					<description><![CDATA[<p>Congratulations to Grant Anderson of DMC, Michael Deck of Avant, and John Jacobsma! All correctly answered last month’s Geek Challenge with C: 93.424%! Michael Deck is this challenge’s winner for his extensive solution that not only solves the proposed problem but also handles more involved aspects not considered by the OP.  Michael’s solution is below. [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24335/geek-challenge-results-the-perfect-bracket/">Geek Challenge Results: The Perfect Bracket</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Congratulations to Grant Anderson of DMC, Michael Deck of Avant, and John Jacobsma! All correctly answered last month’s Geek Challenge with C: 93.424%!</p>



<p class="wp-block-paragraph">Michael Deck is this challenge’s winner for his extensive solution that not only solves the proposed problem but also handles more involved aspects not considered by the OP.  Michael’s solution is below.</p>



<h2 id="h-1-introduction" class="wp-block-heading">1 Introduction</h2>



<p class="wp-block-paragraph">The problem is laid out in our previous blog: <a href="https://static.dmcinfo.com/blog/24457/geek-challenge-the-perfect-bracket/" type="post" id="24457">The Perfect Bracket</a>.</p>



<h2 id="h-2-solution" class="wp-block-heading">2 Solution</h2>



<h3 id="h-2-1-main-solution" class="wp-block-heading"><strong>2.1 Main solution</strong></h3>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">First, we set forth the probability of having a 100% correct bracket in a given year: </p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="21" height="12" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/pn2.gif" alt="geek challenge pn2" class="wp-image-46409"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-text-align-left has-custom-medium-blue-color has-text-color has-link-color wp-elements-13 wp-block-paragraph"><sub>(1)</sub></p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">Where <strong><em>p</em></strong> is the constant probability of the favorite winning a particular game, and n is the number of games held in that year’s tournament to determine the NCAA champion. It follows that the probability of having any errors whatsoever in the bracket is:</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="50" height="16" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/1-pn.gif" alt="geek challenge 1-pn" class="wp-image-46401"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-14 wp-block-paragraph"><sub>(2)</sub></p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">We can quickly see that the probability of having imperfect brackets in all 50 independent years is:</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="82" height="19" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/pn50.gif" alt="geek challenge pn50" class="wp-image-46410"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-15 wp-block-paragraph"><sub>(3)</sub></p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">Thus, the probability of having <strong>at least one</strong> perfect bracket in this set of 50 years is:</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="114" height="19" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/n^50.gif" alt="geek challenge n^[50]" class="wp-image-46403"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-16 wp-block-paragraph"><sub>(4)</sub></p>
</div>
</div>



<p class="wp-block-paragraph">Now to resolve that pesky <strong><em>n</em></strong>. The vast majority of the time, your bracket pool will ask you to make picks for 63 games. If this is the case for you, set (4) equal to 50%, plug in <strong><em>n</em></strong> = 63, and solve for <strong><em>p</em></strong>:</p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="187" height="347" src="https://static.dmcinfo.com/wp-content/uploads/2017/05/Geek-Challenge-Results-The-Perfect-Bracket.png" alt="geek challenge results formula" class="wp-image-46687" srcset="https://static.dmcinfo.com/wp-content/uploads/2017/05/Geek-Challenge-Results-The-Perfect-Bracket.png 187w, https://static.dmcinfo.com/wp-content/uploads/2017/05/Geek-Challenge-Results-The-Perfect-Bracket-162x300.png 162w" sizes="(max-width: 187px) 100vw, 187px" /></figure>



<p class="wp-block-paragraph">Huzzah! The answer is C.</p>



<h3 id="h-2-2-general-formula-for-p" class="wp-block-heading"><strong>2.2 General Formula for <em>p</em></strong></h3>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">From the above, it is easy to generalize the formula for <strong><em>p</em></strong> in terms of the number of brackets filled out:<br>Where <strong><em>b</em></strong> is the number of brackets filled out, <strong><em>c</em></strong> is the probability of at least one perfect bracket.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="114" height="33" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/sqrtbc63.gif" alt="geek challenge sqrt[b]{c}63" class="wp-image-46412"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-17 wp-block-paragraph"><sub>(5)</sub></p>
</div>
</div>



<h2 class="wp-block-heading">3 But Wait, There’s More!</h2>



<h3 id="h-3-1-what-if-my-pool-picks-the-play-in-games-too" class="wp-block-heading"><strong>3.1 What if my Pool Picks the Play-in Games too?</strong></h3>



<p class="wp-block-paragraph">I noted that there are 63 games in your pool most of the time. But since 2001, there have been extra “play-in” games that happen prior to the official start of Round 1. From 2001-2010, there was a single extra game for a total of 64, and since 2011 there have been four extra games for a total of 67. You can plug those values into <strong>(4)</strong> above instead to and alternative solutions that take the play-in games into account.</p>



<p class="wp-block-paragraph"><strong>For 2001-2010:</strong></p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="158" height="103" src="https://static.dmcinfo.com/wp-content/uploads/2017/05/The-Perfect-Bracket-2000-2010.png" alt="The perfect bracket for 2001-2010" class="wp-image-46749"/></figure>



<h3 id="h-3-2-an-even-more-general-formula-for-p" class="wp-block-heading">3.2 An Even More General Formula For <em>p</em></h3>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">We can modify (5) to account for a different number of play-in games:<br>By simply replacing 63 with <strong><em>n</em></strong> to represent the total number of games in the bracket.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="110" height="33" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/sqrtbc.gif" alt="geek challenge sqrt[b][c]" class="wp-image-46411"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-18 wp-block-paragraph"><sub>(6)</sub></p>
</div>
</div>



<h2 id="h-4-hold-on-check-the-problem" class="wp-block-heading">4 Hold on, Check the Problem</h2>



<p class="wp-block-paragraph">The wording of the problem is slightly ambiguous. For the preceding solutions, it has been assumed that the questioner was seeking the probability that <strong>at least one</strong> of the brackets is perfect. That means the cases where any number of your brackets (including getting 2 perfect, 3 perfect, all the way up to all 50) are perfect are included. But what if the questioner intended to ask how large <strong><em>p</em></strong> should be if you want to get <strong>exactly one</strong> bracket correct in 50 years?</p>



<p class="wp-block-paragraph">This solution does not initially appear difficult to set up. Refer back to <strong>(3)</strong>. This formula expresses the case where we are imperfect 50 times. If we only have one perfect bracket, we will have 49 imperfect brackets, so we can use <strong>(3)</strong> in this solution by decreasing 50 to 49. </p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">The probability of a single perfect bracket is expressed in <strong>(1)</strong>. Combining the adjusted <strong>(3)</strong> with <strong>(1)</strong>, we get:</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="119" height="26" src="https://static.dmcinfo.com/wp-content/uploads/2017/05/Geek-Challenge-Results-The-Perfect-Bracket-pn49.png" alt="perfect bracket 49" class="wp-image-46752"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-19 wp-block-paragraph"><sub>(7)</sub></p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">This can easily be identified as (almost) an example of the binomial distribution’s probability mass function. However, <strong>(7)</strong> does not take into account the number of places in which the single perfect bracket may occur — to take this into account, multiply by the number of ways the single perfect bracket can appear (the binomial coefficient):</p>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="134" height="44" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/p^n1-p^n^49.gif" alt="geek challenge p^n(1-p^n)^[49]" class="wp-image-46405"/></figure>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-20 wp-block-paragraph"><sub>(8)</sub></p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:75%">
<p class="wp-block-paragraph">Plugging in<strong><em> n = 63</em></strong> and setting this equal to 0.5:</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:20%">
<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="193" height="44" src="https://static.dmcinfo.com/wp-content/uploads/2026/06/501p^63.gif" alt="geek challenge 501p^63" class="wp-image-46402"/></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:5%">
<p class="has-custom-medium-blue-color has-text-color has-link-color wp-elements-21 wp-block-paragraph"><sub>(9)</sub></p>
</div>
</div>



<p class="wp-block-paragraph">Attempting to solve for <strong><em>p</em></strong> algebraically here is impossible per the Abel-Ruffini theorem — this is effectively a 50th-order polynomial. With a spreadsheet, it is easy to plug in a range of values between 0 and 1 for <strong><em>p<sup>63</sup></em></strong> and see that the probability of exactly one bracket out of 50 being perfect (probably) peaks out around 37.16% when<strong><em> p<sup>63 </sup></em></strong> ≈ 0:0200. So, if the text of the problem is taken literally to mean that we seek the value of <font face="cambria math">p</font> for which the probability of having <strong>exactly one</strong> perfect bracket is 50%, it does not appear that there is a valid solution.</p>



<h2 id="h-a-final-reality-check" class="wp-block-heading">A Final Reality Check</h2>



<p class="wp-block-paragraph">The NCAA has changed the number of teams/games at least 10 times since the inception of the tournament in 1939. Based on the trend, it is likely that there will be more than 67 games at some point in the future. How do we account for this in our answer?</p>



<p class="wp-block-paragraph">Given the excessive levels of complexity we are introducing here, it’s time to break out some code. I’ve chosen Python to define a function <strong>solve_p()</strong> that will accept a list of future annual values for <strong><em>n</em></strong>, a target value for the probability of getting 1 bracket correct, and a value for how granularly to search for a solution between 0 and 1, and return its approximation of <strong><em>p</em></strong>:</p>



<div class="wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e"><span style="background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e">Python</span></span><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>def prob_imperfect(p, num_games):
    return (1.0 - p ** num_games)

def find_closest(dict_solutions, target):
    adj_dict = {}
    for key in dict_solutions:
        adj_dict&#91;key&#93; = abs(dict_solutions&#91;key&#93; - target)
    return min(adj_dict, key=adj_dict.get)

def solve_p(n_list=(&#91;63&#93; * 50), target=0.5, vals=100000):
    num_brackets = len(n_list)
    candidates = {}
    for i in &#91;float(j) / vals for j in range(0,vals,1)&#93;:
        temp_val = 1.0
        for b in n_list:
            temp_val = temp_val * prob_imperfect(i, b)
        candidates&#91;i&#93; = 1.0 - temp_val
    return find_closest(candidates,target)</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #569CD6">def</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">prob_imperfect</span><span style="color: #D4D4D4">(</span><span style="color: #9CDCFE">p</span><span style="color: #D4D4D4">, </span><span style="color: #9CDCFE">num_games</span><span style="color: #D4D4D4">):</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #C586C0">return</span><span style="color: #D4D4D4"> (</span><span style="color: #B5CEA8">1.0</span><span style="color: #D4D4D4"> - p ** num_games)</span></span>
<span class="line"></span>
<span class="line"><span style="color: #569CD6">def</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">find_closest</span><span style="color: #D4D4D4">(</span><span style="color: #9CDCFE">dict_solutions</span><span style="color: #D4D4D4">, </span><span style="color: #9CDCFE">target</span><span style="color: #D4D4D4">):</span></span>
<span class="line"><span style="color: #D4D4D4">    adj_dict = {}</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #C586C0">for</span><span style="color: #D4D4D4"> key </span><span style="color: #C586C0">in</span><span style="color: #D4D4D4"> dict_solutions:</span></span>
<span class="line"><span style="color: #D4D4D4">        adj_dict&#91;key&#93; = </span><span style="color: #DCDCAA">abs</span><span style="color: #D4D4D4">(dict_solutions&#91;key&#93; - target)</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #C586C0">return</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">min</span><span style="color: #D4D4D4">(adj_dict, </span><span style="color: #9CDCFE">key</span><span style="color: #D4D4D4">=adj_dict.get)</span></span>
<span class="line"></span>
<span class="line"><span style="color: #569CD6">def</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">solve_p</span><span style="color: #D4D4D4">(</span><span style="color: #9CDCFE">n_list</span><span style="color: #D4D4D4">=(&#91;</span><span style="color: #B5CEA8">63</span><span style="color: #D4D4D4">&#93; * </span><span style="color: #B5CEA8">50</span><span style="color: #D4D4D4">), </span><span style="color: #9CDCFE">target</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">0.5</span><span style="color: #D4D4D4">, </span><span style="color: #9CDCFE">vals</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">100000</span><span style="color: #D4D4D4">):</span></span>
<span class="line"><span style="color: #D4D4D4">    num_brackets = </span><span style="color: #DCDCAA">len</span><span style="color: #D4D4D4">(n_list)</span></span>
<span class="line"><span style="color: #D4D4D4">    candidates = {}</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #C586C0">for</span><span style="color: #D4D4D4"> i </span><span style="color: #C586C0">in</span><span style="color: #D4D4D4"> &#91;</span><span style="color: #4EC9B0">float</span><span style="color: #D4D4D4">(j) / vals </span><span style="color: #C586C0">for</span><span style="color: #D4D4D4"> j </span><span style="color: #C586C0">in</span><span style="color: #D4D4D4"> </span><span style="color: #DCDCAA">range</span><span style="color: #D4D4D4">(</span><span style="color: #B5CEA8">0</span><span style="color: #D4D4D4">,vals,</span><span style="color: #B5CEA8">1</span><span style="color: #D4D4D4">)&#93;:</span></span>
<span class="line"><span style="color: #D4D4D4">        temp_val = </span><span style="color: #B5CEA8">1.0</span></span>
<span class="line"><span style="color: #D4D4D4">        </span><span style="color: #C586C0">for</span><span style="color: #D4D4D4"> b </span><span style="color: #C586C0">in</span><span style="color: #D4D4D4"> n_list:</span></span>
<span class="line"><span style="color: #D4D4D4">            temp_val = temp_val * prob_imperfect(i, b)</span></span>
<span class="line"><span style="color: #D4D4D4">        candidates&#91;i&#93; = </span><span style="color: #B5CEA8">1.0</span><span style="color: #D4D4D4"> - temp_val</span></span>
<span class="line"><span style="color: #D4D4D4">    </span><span style="color: #C586C0">return</span><span style="color: #D4D4D4"> find_closest(candidates,target)</span></span></code></pre></div>



<p class="wp-block-paragraph">The helper function <strong>prob_imperfect()</strong> calculates the probability of an imperfect bracket from <font face="cambria math">p</font> and the number of games. The other helper function <strong>find_closest()</strong> finds the candidate solution for <font face="cambria math">p</font> whose probability is closest to the target. The default arguments for <strong>solve_p()</strong> are the list [63,63,&#8230;,63] and the target 0.5, which represent the values for our main solution as provided in section 2.1, so we can test that the function works for the static number-of-games scenario by simply running the function with no arguments:</p>



<div class="wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e"><span style="background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e">Python</span></span><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>import dmc_geek as dg
dg.solve_p()
0.93424</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #C586C0">import</span><span style="color: #D4D4D4"> dmc_geek </span><span style="color: #C586C0">as</span><span style="color: #D4D4D4"> dg</span></span>
<span class="line"><span style="color: #D4D4D4">dg.solve_p()</span></span>
<span class="line"><span style="color: #B5CEA8">0.93424</span></span></code></pre></div>



<p class="wp-block-paragraph">Great! Now we can see how high <span class="math"><em><strong>p</strong></em></span> needs to be if, say, the NCAA decides to add 1 game per year for the next 134 years (assuming I am in a pool where every game is picked):</p>



<div class="wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e"><span style="background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e">Python</span></span><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>nl = list(range(67,201))
dg.solve_p(n_list=nl)
0.95074</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">nl = </span><span style="color: #4EC9B0">list</span><span style="color: #D4D4D4">(</span><span style="color: #DCDCAA">range</span><span style="color: #D4D4D4">(</span><span style="color: #B5CEA8">67</span><span style="color: #D4D4D4">,</span><span style="color: #B5CEA8">201</span><span style="color: #D4D4D4">))</span></span>
<span class="line"><span style="color: #D4D4D4">dg.solve_p(</span><span style="color: #9CDCFE">n_list</span><span style="color: #D4D4D4">=nl)</span></span>
<span class="line"><span style="color: #B5CEA8">0.95074</span></span></code></pre></div>



<p class="wp-block-paragraph"><br>
Good to know! Now, what if I only need a 10% chance of at least one bracket being correct in those 134 years?</p>



<div class="wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e"><span style="background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e">Python</span></span><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>dg.solve_p(n_list=nl,target=0.1)
0.92943</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">dg.solve_p(</span><span style="color: #9CDCFE">n_list</span><span style="color: #D4D4D4">=nl,</span><span style="color: #9CDCFE">target</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">0.1</span><span style="color: #D4D4D4">)</span></span>
<span class="line"><span style="color: #B5CEA8">0.92943</span></span></code></pre></div>



<p class="wp-block-paragraph"><br>
Fantastic. Let’s say I want to waste more time on this and would like a more precise answer. How can I increase the granularity of my search space beyond the default of 100,000 test values for p?</p>



<div class="wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e"><span style="background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e">Python</span></span><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>v = 1000000
dg.solve_p(n_list=nl,target=0.1,vals=v)
0.929429</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">v = </span><span style="color: #B5CEA8">1000000</span></span>
<span class="line"><span style="color: #D4D4D4">dg.solve_p(</span><span style="color: #9CDCFE">n_list</span><span style="color: #D4D4D4">=nl,</span><span style="color: #9CDCFE">target</span><span style="color: #D4D4D4">=</span><span style="color: #B5CEA8">0.1</span><span style="color: #D4D4D4">,</span><span style="color: #9CDCFE">vals</span><span style="color: #D4D4D4">=v)</span></span>
<span class="line"><span style="color: #B5CEA8">0.929429</span></span></code></pre></div>



<h2 id="h-conclusion" class="wp-block-heading">Conclusion</h2>



<p class="wp-block-paragraph">As you can see, that <font face="cambria math">p</font> needs to be pretty high for you to have any greater than &#8211; how shall I put this &#8211; a snowball’s chance in hell of ever picking a perfect bracket in your lifetime. But hey, you don’t need to be perfect to win your coworkers’ cash &#8211; just be a little bit better than everyone else, and eventually you might win your pool. Thanks for reading and good luck with your future brackets!</p>



<p class="wp-block-paragraph">Michael Deck<i> </i>will be receiving a DMC Pocket Protector! Keep an eye out for the next DMC Geek Challenge. </p>



<p class="wp-block-paragraph"><em>Here&#8217;s where you can find the <a href="https://github.com/m-deck/geek-challenge" type="link" id="https://github.com/m-deck/geek-challenge">Solution .tex file and accompanying Python code</a>.</em></p>
<p>The post <a href="https://static.dmcinfo.com/blog/24335/geek-challenge-results-the-perfect-bracket/">Geek Challenge Results: The Perfect Bracket</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge: The Perfect Bracket</title>
		<link>https://static.dmcinfo.com/blog/24457/geek-challenge-the-perfect-bracket/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Mon, 03 Apr 2017 15:02:32 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/24457/geek-challenge-the-perfect-bracket/</guid>

					<description><![CDATA[<p>With March Madness wrapping up and everyone&#8217;s brackets broken once again, this month&#8217;s Geek Challenge is about what it might take to build the perfect bracket. It&apos;s time for all the mathletes out there to show off their skills. Imagine that for every game in the NCAA tournament you know the probability p for the [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24457/geek-challenge-the-perfect-bracket/">Geek Challenge: The Perfect Bracket</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">With March Madness wrapping up and everyone&rsquo;s brackets broken once again, this month&rsquo;s Geek Challenge is about what it might take to build the perfect bracket. It&apos;s time for all the mathletes out there to show off their skills.<br />
<br />
Imagine that for every game in the NCAA tournament you know the probability p for the favored team to win the game. For simplicity&rsquo;s sake, let&rsquo;s assume p is the same for all the games in the tournament.<br />
<br />
You fill out your bracket to reflect these odds 50 times over 50 years (p is the same every year). How large does p need to be for there to be a 50% chance that one of your 50 brackets was a perfect bracket?<br />
<br />
A: 65.344%<br />
<br />
B: 87.481%<br />
<br />
C: 93.424%<br />
<br />
D: 98.637%<br />
<br />
E: 99.998%<br />
<br />
Extra credit for a general formula for p in terms of the number of brackets filled out and the probability that one of those brackets is a perfect bracket.</p>

<p class="wp-block-paragraph">The solution with the most complete analysis will be this month&apos;s Geek Challenge winner!</p>

<p class="wp-block-paragraph"><strong>Submit responses to&nbsp;<a href="mailto:geekchallenge@localhost?subject=Eccentric%20Traveler%20Answer">geekchallenge@localhost</a>&nbsp;by May 5, 2017.</strong></p>

<p class="wp-block-paragraph"><a href="https://static.dmcinfo.com/latest-thinking/blog/articletype/categoryview/categoryid/33/geek-challenge">Check out any previous Geek Challenges you might have missed!</a></p>
<p>The post <a href="https://static.dmcinfo.com/blog/24457/geek-challenge-the-perfect-bracket/">Geek Challenge: The Perfect Bracket</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge Results: Eccentric Traveler</title>
		<link>https://static.dmcinfo.com/blog/24551/geek-challenge-results-eccentric-traveler/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Wed, 08 Mar 2017 22:54:01 +0000</pubDate>
				<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/24551/geek-challenge-results-eccentric-traveler/</guid>

					<description><![CDATA[<p>The results are in! February&apos;s Geek Challenge winner is Grant Anderson of DMC. Grant&apos;s clever breakdown of the problem is shown below. Grant&apos;s Solution There are five classifications of locations that satisfy this riddle (at least on the surface): For ease of calculations, we&#8217;ll assume the earth is perfectly spherical, rather than the ellipsoid it [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24551/geek-challenge-results-eccentric-traveler/">Geek Challenge Results: Eccentric Traveler</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<!-- Injected MathJax Code --><script type="text/javascript" src="//cdn.mathjax.org/mathjax/2.3-latest/MathJax.js?config=TeX-AMS_HTML"></script>
<p class="wp-block-paragraph">The results are in! <a href="https://static.dmcinfo.com/latest-thinking/blog/id/9367/geek-challenge-eccentric-traveler" target="_blank">February&apos;s Geek Challenge</a> winner is Grant Anderson of DMC. Grant&apos;s clever breakdown of the problem is shown below.</p>

<h2 class="wp-block-heading">Grant&apos;s Solution</h2>

<p class="wp-block-paragraph">There are five classifications of locations that satisfy this riddle (at least on the surface):</p>

<ol class="wp-block-list">
 <li>As mentioned in the riddle itself, the North Pole.</li>
 <li>All locations one-mile north of the one-mile long parallel of latitude in the Northern Hemisphere.</li>
 <li>All locations one-mile north of the one-mile long parallel of latitude in the Southern Hemisphere.</li>
 <li>All locations one-mile north of a parallel of latitude which is an integral fraction of a one-mile long parallel of latitude in the Northern Hemisphere.</li>
 <li>All locations one-mile north of a parallel of latitude which is an integral fraction of a one-mile long parallel of latitude in the Southern Hemisphere.</li>
</ol>

<p class="wp-block-paragraph">For ease of calculations, we&rsquo;ll assume the earth is perfectly spherical, rather than the ellipsoid it truly is. Also, since this isn&rsquo;t a geography question, we&rsquo;ll assume that our traveler won&rsquo;t have to take elevations into consideration and place him at sea-level for his entire trip.</p>

<p class="wp-block-paragraph">There are 90 degrees of latitude between the equator and each pole (the equator being 0 degrees). The circumference of the Earth at the equator is 24,901.92 miles, which, dividing by 360 degrees, means that each degree of longitude at the equator is 69.172 miles.</p>

<p class="wp-block-paragraph">However, because we are assuming a perfectly spherical earth, we know that each degree of latitude on the Earth is also 69.172 miles. As our traveler moves closer to the poles and away from the equator, the mileage difference between each degree of longitude shrinks.</p>

<p class="wp-block-paragraph">We&rsquo;ll first solve for the two parallels of latitude where 360 degrees of longitude is exactly one mile. Or alternately, 1 degree of longitude is 0.0028 miles.</p>

<p class="wp-block-paragraph">To calculate at which degree of latitude 1 degree of longitude is equal to 0.0028 miles, we can use the following calculation:&nbsp;</p>

<p class="wp-block-paragraph"><strong><span style="font-family:courier new;">1 degree of longitude = cosine (latitude in degrees) * mile length of a degree at the equator</span></strong></p>

<p class="wp-block-paragraph">So, plugging in our values we have:&nbsp;</p>

<p class="wp-block-paragraph"><strong><span style="font-family:courier new;">0.0028 = cosine(x) * 69.172</span></strong></p>

<p class="wp-block-paragraph">Solving for x gives us:&nbsp;</p>

<p class="wp-block-paragraph"><strong><span style="font-family:courier new;">x = 89.998 degrees</span></strong></p>

<h3 class="wp-block-heading">Northern Hemisphere</h3>

<p class="wp-block-paragraph">In the Northern Hemisphere, our traveler needs to go one mile north of 89.998 degrees. Since we know each degree of latitude is 69.172 miles, we find the traveler will need to start out at the 89.998 + (1 / 69.172) degrees North latitude or 90.012 degrees North latitude.</p>

<p class="wp-block-paragraph">This means he is actually crossing through the North Pole. The upshot is, we can scratch classifications 2 and 4 from the list above. It&rsquo;s impossible to do this from the Northern hemisphere other than at the North Pole, assuming that you can&rsquo;t actually walk north of the North Pole.</p>

<h3 class="wp-block-heading">Southern Hemisphere</h3>

<p class="wp-block-paragraph">In the Southern Hemisphere, once again the traveler needs to go one-mile north of 89.998 degrees, which puts him at 89.983 degrees. One degree of longitude here equals cosine (89.983) * 69.172 or 0.0205 miles. Multiplying by 360 gives us the length of this latitude as 7.389 miles.</p>

<p class="wp-block-paragraph">Now, we need to calculate the remaining locations that fall under classification 5, all locations one-mile north of a parallel of latitude which is an integral fraction of a one-mile long parallel of latitude in the Southern Hemisphere.</p>

<p class="wp-block-paragraph">We now calculate the degree of latitude where 720 degrees of longitude is equal to 1 mile. Using our equation from above we find this is the 89.999-degree south parallel. One mile north of that gives us the 89.984-degree south parallel. And its length is 6.953 miles</p>

<p class="wp-block-paragraph">Next, we calculate the degree of latitude where 1080 degrees of longitude is equal to 1 mile. This puts our traveler less than a thousandth of a degree south of what we just calculated. At this point, we can assume the width of his hovercar from the previous locations trip will cover this location and all subsequent locations that fit the harmonic series.</p>

<p class="wp-block-paragraph">So if our traveler starts at the North Pole, he&rsquo;ll move straight down to the 89.983-degree parallel and circle it. After this, he&rsquo;ll travel to the 89.984-degree parallel and circle it as well. This trip yields a total distance of:</p>

<p class="wp-block-paragraph"><strong><span style="font-family:courier new;">((90 degrees + 89.984 degrees) * 69.172 miles/degree) + 7.389 miles + 6.953 miles = 12,464.195 miles</span></strong></p>

<p class="wp-block-paragraph">Traveling at 100 mph means his trip will take about 125 hours. At over 5 days of travel, he&rsquo;s going to need those energy drinks.</p>

<h2 class="wp-block-heading">Additional Thoughts</h2>

<p class="wp-block-paragraph">As Grant pointed out, there are&nbsp;an infinite number of rings near the South Pole made from the points that satisfy this riddle. It would be impossible for our traveler to travel along all of these rings since all have a circumference of at least ~6.28 miles (the circumference of the latitude line 1 mile north of the South Pole).&nbsp;This would make our traveler truly eccentric&nbsp;as he would forever travel&nbsp;around the South Pole without ever reaching it (reaching&nbsp;the South Pole would make him a centric traveler).</p>

<p class="wp-block-paragraph"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Rings-Around-South-Pole.png"  /></figure><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Rings-Zoomed-In-With-Circumferences.png"  /></figure></p>

<p class="wp-block-paragraph">Grant gave our traveler some closure by pointing&nbsp;out that eventually, the rings become so close to each other that the width of his hover car covers multiple rings and at some point spans all remaining rings to be traveled around. To examine this, and see how wide his hover car would need to be, let&apos;s take a closer look at his path along these rings near the South Pole.&nbsp;Let&apos;s zoom in and see how far apart the rings are.</p>

<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Rings-Zoomed-In-With-Distances.png"  /></figure>

<p class="wp-block-paragraph">Looking at these distances, we see that if our traveler&apos;s hovercar is at least 841 ft wide, he could sweep through all the rings in one loop around.&nbsp;If his hover car is at least 420 ft wide, he could do it in 2 loops, covering the first and second ring in his first loop and all the rest in his next loop.&nbsp;</p>

<p class="wp-block-paragraph">If his hover car is just the width of a normal car, we&nbsp;see that he&apos;ll have to do many loops around before he can cover all of these rings. However, any distance added traveling around these loops&nbsp;is pretty insignificant compared to the first 12,450 miles he travels from the North Pole to the first ring.</p>

<p class="wp-block-paragraph">One more interesting thing about the spacing of these rings is that the infinite number of points&nbsp;satisfying this riddle, excluding the North Pole,&nbsp;are contained in a relatively small area on the surface of the globe (they are all between 1 and 1.159 miles away from the South Pole).</p>

<p class="wp-block-paragraph">This area&nbsp;can be calculated as the following surface integral:</p>

<p class="wp-block-paragraph"><span class="math-tex">\(A = \int_0^{2\pi} \int_{\frac{1mi}{3959mi}}^{\frac{1.159mi}{3959mi}}(3959mi)^2cos(\theta)d\theta d\phi \approx1.076mi^2 \approx689acres\)</span></p>

<p class="wp-block-paragraph">3959 mi = Earth&apos;s radius</p>

<p class="wp-block-paragraph">1 mi = distance of inner-most ring from the South Pole (more correctly, what the ring sizes are&nbsp;approaching as they get smaller)</p>

<p class="wp-block-paragraph">1.159 mi = distance of outer-most ring from the South Pole</p>

<p class="wp-block-paragraph">The Earth&apos;s surface (both land and water) is approximately 126 billion acres, so the area these points&nbsp;are contained in&nbsp;is&nbsp;only 0.0000005% of the total area on Earth!</p>

<p class="wp-block-paragraph"><strong>Submit your comments to&nbsp;<a href="mailto:geekchallenge@localhost">geekchallenge@localhost</a>.</strong></p>
<p>The post <a href="https://static.dmcinfo.com/blog/24551/geek-challenge-results-eccentric-traveler/">Geek Challenge Results: Eccentric Traveler</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge Results: Infinipool</title>
		<link>https://static.dmcinfo.com/blog/24788/geek-challenge-results-infinipool/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Thu, 05 Jan 2017 16:53:39 +0000</pubDate>
				<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/24788/geek-challenge-results-infinipool/</guid>

					<description><![CDATA[<p>The results are in! Two people correctly answered December&#8217;s geek challenge. Ken Brey of DMC and Jesse Batsche of DMC both&#160;identified the correct percentage as D: 60-65%. Ken supplied an exact solution for the probability as the grid of pool balls becomes infinitely large. However,&#160;Jesse&#160;is this month&#8217;s winner&#160;because he wrote a really cool LabVIEW program to solve&#160;the [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24788/geek-challenge-results-infinipool/">Geek Challenge Results: Infinipool</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><!-- Injected MathJax Code --><script type="text/javascript" src="//cdn.mathjax.org/mathjax/2.3-latest/MathJax.js?config=TeX-AMS_HTML"></script></p>


<p class="wp-block-paragraph">The results are in! Two people correctly answered <a href="https://static.dmcinfo.com/latest-thinking/blog/id/9342/geek-challenge-infinipool">December&#8217;s geek challenge</a>.</p>



<p class="wp-block-paragraph"><strong>Ken Brey of DMC and Jesse Batsche of DMC both&nbsp;identified the correct percentage as D: 60-65%.</strong> Ken supplied an exact solution for the probability as the grid of pool balls becomes infinitely large.</p>



<p class="wp-block-paragraph">However,&nbsp;<strong>Jesse&nbsp;is this month&#8217;s winner&nbsp;because he wrote a really cool LabVIEW program to solve&nbsp;the problem!</strong></p>



<h2 id="h-ken-s-exact-solution" class="wp-block-heading">Ken&#8217;s Exact Solution</h2>



<p class="wp-block-paragraph">Where X and Y represent the row and column offset of a ball relative to the cue ball, given 4-way symmetry, we can analyze only 1/4 of the space, such that X&gt;0 and Y&gt;0.&nbsp;Now we can use only natural numbers.&nbsp;Given an infinitely large surface, the probability of selecting a ball on the symmetry lines of X=0 or Y=0, rows is infinitely small, and therefore ignoring these can’t affect the outcome.</p>



<p class="wp-block-paragraph">For a ball at X,Y to be a clear shot, there must be no smaller similar right triangle with integral sides to the right triangle with sides X and Y.&nbsp;So, for all n smaller than X and Y, X/n and&nbsp;Y/n must not both be&nbsp;integers.&nbsp;</p>



<p class="wp-block-paragraph">In other words, X&nbsp;and Y&nbsp;are coprime, or the greatest common divisor (GCD) of X and Y is 1.&nbsp;A simple solution for&nbsp;the probability of&nbsp;this question of the probability of GCD being 1 for an infinite set of integers was figured out by a couple of bright undergrads in 1992.&nbsp;Their answer matches more complicated proofs discovered earlier.&nbsp;The answer is 6/pi² or 60.7927%.</p>



<p class="wp-block-paragraph">References:</p>



<p class="wp-block-paragraph"><a href="https://www.cut-the-knot.org/m/Probability/TwoCoprime.shtml" type="link" id="https://www.cut-the-knot.org/m/Probability/TwoCoprime.shtml" target="_blank" rel="noreferrer noopener">Probability of Two Integers Being CoPrime</a></p>


<div>Aaron D. Abrams and Matteo J. Paris</div>
<div><em>The College Mathematics Journal</em></div>
<div>Vol. 23, No. 1 (Jan., 1992), p. 47</div>
<div>&nbsp;</div>


<h2 id="h-jesse-s-labview-nbsp-solution" class="wp-block-heading">Jesse&#8217;s LabVIEW&nbsp;Solution</h2>



<p class="wp-block-paragraph">Jesse correctly approximated the percentage&nbsp;by&nbsp;building a LabVIEW&nbsp;program to solve the problem for arbitrarily large grids of pool balls. Jesse&#8217;s solver iteratively &#8220;takes shots&#8221; at balls in &#8220;rings of increasing radius&#8221; (i.e. starting with balls closest to the cue ball, moving outward).&nbsp;It keeps track of shot angles that it has already taken to hit a prior ball.&nbsp;If it aims at a ball, and it requires exactly the same shot angle as a previous ball, then that ball is deemed un-hittable.&nbsp;In addition to calculating&nbsp;the ratio&nbsp;for any size grid Jesse&#8217;s&nbsp;solver includes an awesome&nbsp;animated graph showing the hittable and unhittable balls in the grid as it iterates through them. Green boxes represent hittable balls and boxes left red represent unhittable balls.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Pool-Grid-Animation-Small.gif" alt="LabView Animation"/></figure>



<p class="wp-block-paragraph">The results are&nbsp;then shown in a more condensed grid. Shown below are the results&nbsp;for a 103&#215;103 grid.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Condensed-Shot-Grid.png" alt=""/></figure>



<p class="wp-block-paragraph">Congrats to our winner, Jesse, who receives a retro logo DMC pocket protector!</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/pocketprotector.jpg" alt=""/></figure>



<p class="wp-block-paragraph">Submit your comments to&nbsp;<a href="mailto:geekchallenge@localhost">geekchallenge@localhost</a>.</p>



<p class="wp-block-paragraph"><a href="https://static.dmcinfo.com/latest-thinking/blog/articletype/categoryview/categoryid/33/geek-challenge">Check out all the past challenges here!</a></p>
<p>The post <a href="https://static.dmcinfo.com/blog/24788/geek-challenge-results-infinipool/">Geek Challenge Results: Infinipool</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge: Infinipool</title>
		<link>https://static.dmcinfo.com/blog/24851/geek-challenge-infinipool/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Tue, 29 Nov 2016 13:41:48 +0000</pubDate>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/24851/geek-challenge-infinipool/</guid>

					<description><![CDATA[<p>December&#8217;s Geek Challenge is about trying to make pool shots on an infinitely large pool table.&#160; To describe the challenge, let&#8217;s look at a 3&#215;5 grid of pool balls with the cue ball positioned in the center. We want to know what the odds are that we can hit a ball chosen at random with [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24851/geek-challenge-infinipool/">Geek Challenge: Infinipool</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">December&rsquo;s Geek Challenge is about trying to make pool shots on an infinitely large pool table.&nbsp;</p>

<p class="wp-block-paragraph">To describe the challenge, let&rsquo;s look at a 3&#215;5 grid of pool balls with the cue ball positioned in the center. We want to know what the odds are that we can hit a ball chosen at random with the cue ball (without jumping or curving around other balls).</p>

<p class="wp-block-paragraph">Looking at the possible cue ball paths, we see we can hit any ball except the 6 or the 9 because the 7 and 8 balls get in the way. Since there are 14 possible balls to pick from&nbsp;and we can hit 12 of them, there is a 6/7 chance we can hit a ball chosen at random from the 3&#215;5 grid.</p>

<figure class="wp-block-image"><img decoding="async" alt="Screenshot of a 3x5 grid of pool balls with the cue ball positioned in the center" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/3x5-Ball-Grid-Diagram.png"  /></figure>

<p class="wp-block-paragraph">For the real challenge, we want to know our odds for an infinitely large grid of pool balls with one cue ball positioned like before.&nbsp;</p>

<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Infinite-Ball-Grid.png"  /></figure>

<p class="wp-block-paragraph">Since this grid is substantially larger, the radius of the all the balls is now 0, so that a ball does not interfere with the cue ball path unless the cue ball hits that ball dead center. Because this is a much harder shot, we have also been granted the ability to hit the cue ball infinitely far and with perfect accuracy.</p>

<p class="wp-block-paragraph">What is the probability that we could hit a ball chosen at random from the infinite grid without another ball being in the way?<br />
<br />
A: 0-5%<br />
<br />
B: 15-20%<br />
<br />
C: 35-40%<br />
<br />
D: 60-65%<br />
<br />
E: 95-100%<br />
<br />
Bonus points for the exact solution.</p>

<p class="wp-block-paragraph">Please submit your responses to: <a href="mailto:geekchallenge@localhost?subject=Infinipool%20Geek%20Challenge">geekchallenge@localhost</a>.</p>

<p class="wp-block-paragraph"><a href="https://static.dmcinfo.com/latest-thinking/blog/articletype/categoryview/categoryid/33/geek-challenge">Check out previous Geek Challenges here</a>!</p>
<p>The post <a href="https://static.dmcinfo.com/blog/24851/geek-challenge-infinipool/">Geek Challenge: Infinipool</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Geek Challenge Results: Crossing of the Chords</title>
		<link>https://static.dmcinfo.com/blog/27106/geek-challenge-results-crossing-of-the-chords/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Wed, 05 Nov 2014 09:33:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Geek Challenge]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/27106/geek-challenge-results-crossing-of-the-chords/</guid>

					<description><![CDATA[<p>Thirteen people correctly answered the Crossing of the Chords Geek Challenge by selecting C: 70 intersections. In their explanations, two very distinct methods were demonstrated to arrive at the general equation for intersections as a function of perimeter points. This month&#8217;s winners are John Jacobsma of Dickson, Devon Fritz of DMC, Sudeep Gowrishankar of DMC, [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/27106/geek-challenge-results-crossing-of-the-chords/">Geek Challenge Results: Crossing of the Chords</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph" style="margin-left: 40px;">Thirteen people correctly answered the Crossing of the Chords Geek Challenge by selecting C: 70 intersections. In their explanations, two very distinct methods were demonstrated to arrive at the general equation for intersections as a function of perimeter points. This month&rsquo;s winners are John Jacobsma of Dickson, Devon Fritz of DMC, Sudeep Gowrishankar of DMC, and Adnaan Velji of DMC. They used a Combinations method to arrive at the method very efficiently. &nbsp;</p>

<p class="wp-block-paragraph">To give proper context to the extreme efficiency of the Combinations solution to this problem, I will first demonstrate the more common Series method. &nbsp;Actually, I&rsquo;ll let Andrea Gotti of Ingersoll explain:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">N : number of points unevenly distributed on the circumference. No more than two chords intersect at a common point inside the circle.<br />
I : number of internal chords intersections. Starting from the images above one can observe as follows:</p>

<p class="wp-block-paragraph" style="text-align: center;"><figure class="wp-block-image"><img decoding="async" alt="N=4, N=5, and N=6 answers are shown here." src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords__results.png"  /></figure></p>

<p class="wp-block-paragraph">These numbers can be conveniently collected by using the following table:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_2.png"  /></figure></p>

<p class="wp-block-paragraph">The index is used just to keep a compact notation. The number of intersections, expressed as a function, is the sum of all the elements in the first rows.</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_3.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_4.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">Therefore, the original problem has become:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_5.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">The formula can now be expressed as a function of N:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_6.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><br />
So, substituting to arrive at the final answer:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_7.png"  /></figure></p>

<p class="wp-block-paragraph">Wow, that&rsquo;s a ton of work, and is what the majority of people who answered this question actually went through. A few people, however, found an easier way. &nbsp;Here is a winning solution from Devon Fritz:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">Every set of four perimeter points produces an intersection point between that set of four points. &nbsp;</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_8.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><br />
So, for each set of unique 4 points on the perimeter, a unique intersection point is formed. &nbsp;This can be written mathematically as a combination formula for N&gt;3: <strong><sub>N</sub><span style="font-size:larger;">C</span><sub>4</sub></strong></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">The formula for combinations can be expressed with factorial:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_9.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">And substituting the required perimeter points:</p>

<p class="wp-block-paragraph" style="margin-left: 80px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_10.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">OBSERVATION #1: By moving from one row to the next one below, the number in the first column increases by 1, the one in the second by 2, the one in the third by 3, and so on. This allows one to state the problem by using the following recursive formula:</p>

<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_11_1.png"  /></figure>

<p class="wp-block-paragraph" style="margin-left: 40px;">For example:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_12.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">Consider the term:&nbsp;<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_13.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 80px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_14.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">The original problem can now be expressed via this simplified recursive formula:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_15.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">For example:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_16.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">OBSERVATION #2:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_17.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">This allows one to reformulate the problem as follows:</p>

<p class="wp-block-paragraph" style="margin-left: 40px;"><figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_18.png"  /></figure></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">Let&apos;s now consider the term:&nbsp;<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/crossing_chords_results_19.png"  /></figure></p>

<p class="wp-block-paragraph">And thus, our winners were selected for representing the results of three jam-packed pages of math with just 3 letters: <strong><sub>N</sub><span style="font-size:larger;">C</span><sub>4</sub></strong></p>

<p class="wp-block-paragraph">So, congratulations again to John Jacobsma, Devon Fritz, Sudeep Gowrishankar and Adnaan Velji for winning this Geek Challenge!</p>

<p class="wp-block-paragraph">Submit your comments to <a href="mailto:geekchallenge@localhost">geekchallenge@localhost</a>.</p>
<p>The post <a href="https://static.dmcinfo.com/blog/27106/geek-challenge-results-crossing-of-the-chords/">Geek Challenge Results: Crossing of the Chords</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
