{"id":17181,"date":"2026-08-23T15:15:36","date_gmt":"2026-08-23T20:15:36","guid":{"rendered":"https:\/\/ericsiegmund.com\/fireant\/?p=17181"},"modified":"2026-08-23T15:15:40","modified_gmt":"2026-08-23T20:15:40","slug":"fun-with-math","status":"publish","type":"post","link":"https:\/\/ericsiegmund.com\/fireant\/2026\/08\/23\/fun-with-math\/","title":{"rendered":"Fun with Math"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Look*, I know the post title is an oxymoron, at least for people like me (and, possibly, you \u2014 I hope for at least some of you, which will make me feel better, albeit at your expense). I don&#8217;t understand advanced math, which I define as essentially anything that&#8217;s not basic algebra (or simple arithmetic; I <em>like<\/em> arithmetic). I managed to get a C in undergrad calculus and I was ecstatic at that achievement, and I&#8217;m sure I can run a three minute mile before I can solve a quadratic equation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-twentytwentyone-border\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"412\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_mathclassvstest.jpg\" alt=\"Meme: Math classwork vs math test\" class=\"wp-image-17195\" srcset=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_mathclassvstest.jpg 640w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_mathclassvstest-300x193.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">This pretty much captures my experience with college-level calculus<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So you should be as puzzled as I am as to why I googled <a title=\"Go ahead; try it...you know you want to\" href=\"https:\/\/share.google\/Wvc76g8PZBNEfgxAn\" target=\"_blank\" rel=\"noopener\"><em>hardest math problems in the world<\/em><\/a> yesterday.<\/p>\n\n\n\n<p style=\"font-size: .9em;\"><strong>*Irrelevant aside \u2014<\/strong> <em>Have you noticed that many of the talking heads on TV now preface their statements with &#8220;look&#8221;? I have, and it&#8217;s annoying. Psychologists say that it&#8217;s an attempt to force the listener to accept as fact an unproven premise, and to make us think the speaker is normal and &#8220;no-nonsense.&#8221; Thanks to its overuse, it achieves none of those things. But, look, there are exceptions.<\/em><\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">That led me to this web page with the creative title of <em><a title=\"Website: How Stuff Works; frankly, I still don't know how this stuff works\" href=\"https:\/\/science.howstuffworks.com\/math-concepts\/hardest-math-problem-in-the-world.htm\">What&#8217;s The Hardest Math Problem in the World?<\/a><\/em>. Google is nothing if not literal. This site ranks nine famous (to <em>somebody<\/em>, I guess) and as yet unsolved problems, starting with the <a title=\"Feel free to peruse this unintelligible (to me) explanation via Wikipedia\" href=\"https:\/\/en.wikipedia.org\/wiki\/Riemann_hypothesis\" target=\"_blank\" rel=\"noopener\">Riemann Hypothesis<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As far as I can tell, the main reason this problem needs to be solved is so that some things involving prime numbers that are <em>believed<\/em> to be true will then be <em>known<\/em> to be true. I don&#8217;t know; it sounds like we need to solve this problem so we can say we solved this problem. Anyway, as soon as I hit the reference to the <em>Riemann zeta function<\/em>, my eyes refused to focus until I moved to #2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Number two on the list is the <a title=\"Good luck with this one, as well\" href=\"https:\/\/en.wikipedia.org\/wiki\/P_versus_NP_problem\" target=\"_blank\" rel=\"noopener\">P vs. NP Problem<\/a>, which has real world implications because it might help us get better at Sudoku. According to this website, it would also help us to determine the shortest path on a graph; I guess using a ruler is considered unsophisticated. Unfortunately, this is another problem that nobody seems to be able to get a handle on so we&#8217;ll continue to be bedeviled by those wily Japanese gamesters, and suffer the embarrassing consequences of eyeballing lines on our graphs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Having stumbled past the first two, I landed on number three, and found myself shouting (in my head, of course) <em>Eureka!<\/em> because the <a title=\"Now we're getting somewhere. Not anywhere useful, of course, but somewhere almost understandable.\" href=\"https:\/\/en.wikipedia.org\/wiki\/Collatz_conjecture\" target=\"_blank\" rel=\"noopener\">Collatz Conjecture<\/a> \u2014 named after a German mathematician, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lothar_Collatz\" target=\"_blank\" rel=\"noopener\">Lothar Collatz<\/a> (1910-1990) \u2014 is a problem that (a) I can&#8217;t solve, but (2) I can test it, and at least understand the process behind it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply put, the Collatz Conjecture works like this (from the <em>How Stuff Works<\/em> website):<\/p>\n\n\n\n<p class=\"quote\">Start with any positive integer. If it\u2019s even, divide by 2. If it\u2019s odd, multiply by 3 and add 1. Repeat with the result of the previous calculation. The Collatz Conjecture posits that no matter what number you start with, you\u2019ll eventually reach 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I decided to try this out for myself, and I chose to start simply, with the number 3. I opened a blank Excel spreadsheet, entered 3 on the first row, and got to work. Second row (or first iteration) is 10 (3 x 3 + 1). Third is 5 (10 \u00f7 2)&#8230;and so on. The seventh iteration yielded \u2014 wait for it \u2014 1. So far, so good&#8230;the Collatz Conjecture is true for the number 3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I felt cocky, so I picked another number at random. This time it was 27. First iteration: 82 (27 x 3 + 1). Second iteration: 41 (82 \u00f7 2). Third&#8230;well, let&#8217;s just say that things got out of hand quickly. By the time I got to the 77th iteration, we were up to 9,232, and I was beginning to doubt my commitment to the exercise.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"640\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel.jpg\" alt=\"Meme: death by Excel\" class=\"wp-image-17204\" srcset=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel.jpg 640w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel-300x300.jpg 300w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel-150x150.jpg 150w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel-500x500.jpg 500w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_causeofdeathisexcel-400x400.jpg 400w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">That feeling when you try to manually solve the Collatz Conjecture using Excel<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">However, as I recently said, I have time as a retiree to watch lizards, so surely I can also carve out a few more minutes (I hope) to help mankind by proving the Collatz Conjecture&#8230;at least with respect to the number 27. I trudged onward and reached my final destination (i.e., the number 1) at iteration #111. That 77th iteration proved to be the maximum value in the entire sequence.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, I did those two computations manually in Excel, but I figured there had to be an easier way. I was sure there was a way to use Excel&#8217;s powerful functions to create an equation that would test each preceding result to determine whether it was even or odd, and then apply the proper calculation of the next number in the sequence. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-twentytwentyone-border\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"672\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_excelautomation.jpg\" alt=\"Meme about automating something in Microsoft Excel\" class=\"wp-image-17203\" srcset=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_excelautomation.jpg 640w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_excelautomation-286x300.jpg 286w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">This applies even if A.I. does it for me&#8230;<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So I determined to figure that out in the simplest possible way: I cheated \u2014 I asked ChatGPT to do it for me. Turns out that Excel has a one-trick pony function called MOD() whose sole purpose in life is to test a number and decide if it&#8217;s even or odd. I had no idea of MOD&#8217;s existence, despite having used Excel for decades \u2014 since it kicked Lotus 1-2-3 to the curb (so, almost forty years, for you youngsters). And not once during that time did I ever need a spreadsheet function to distinguish even from odd. As ChatGPT put it, <em>you&#8217;ve now encountered one of my favorite categories of Excel functions: the ones that are completely unremarkable until suddenly you realize, \u201cWait a minute&#8230;this is exactly what I need.\u201d<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-twentytwentyone-border\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"591\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_wethoughtitwouldbeeasy2.jpg\" alt=\"Meme: we do this because we thought it would be easy\" class=\"wp-image-17205\" srcset=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_wethoughtitwouldbeeasy2.jpg 640w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/meme_wethoughtitwouldbeeasy2-300x277.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">Fortunately (and surprisingly), it did turn out to be easy, but I can&#8217;t resist a good meme.<\/figcaption><\/figure>\n\n\n\n<div class=\"quote\"><p>If you&#8217;re wondering just how the MOD() function works \u2014 and I know you are, inquisitive Gazetter \u2014 it&#8217;s really quite simple. The function returns the remainder when a number is divided by 2. If the remainder is 1, the number is odd; if the remainder is 0, it&#8217;s even. Thus (the numbers being tested are bolded)&#8230;<\/p><ul style=\"margin-top: 1.5em;\">\n<li>MOD(<strong>10<\/strong>,2)&nbsp;\u2192 0<\/li>\n\n<li>MOD(<strong>11<\/strong>,2)&nbsp;\u2192 1<\/li>\n\n<li>MOD(<strong>27<\/strong>,2)&nbsp;\u2192 1<\/li>\n\n<li>MOD(<strong>9232<\/strong>,2)&nbsp;\u2192 0<\/li><\/ul><\/div>\n\n\n\n<p id=\"return\">Ready to play around with this on your own? Here&#8217;s how to get started. Open Excel, choose a number, and enter it in cell A1. Copy this formula into the second row, same column:<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">=IF(A1=1,&#8221;&#8221;,IF(MOD(A1,2)=0,A1\/2,3*A1+1)) <sup>[<strong><a href=\"#footnote\">footnote<\/a><\/strong>]<\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then continue copying the formula \u2014 you can simply just drag the formula downward; the references to the prior cell will automatically update \u2014 into subsequent rows until the result is 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You might be surprised at the results from choosing different numbers. I theorized that the bigger the starting number, the more iterations it would take to get to 1, but that&#8217;s not remotely the case. For example, while starting with 27 required 111 iterations, starting with 16,748 required only 66 \u2014 45 fewer (see, I <em>can<\/em> do math!). Even beginning with 183,000,281 required only 157 iterations to get to 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And here&#8217;s a fun thing to try, <em>fun<\/em> being a highly subjective thing, of course: think of two seemingly unrelated, random numbers for which the first iteration yields an identical result, and you&#8217;ll [obviously] find that it will take the same number of iterations to reach 1. Thus, beginning with either 27 or 164, because the 1st iteration for each is 82 (27 * 3 +1 and 164 \u00f7 2). According to ChatGPT, <em>mathematicians commonly describe these pairs of numbers as having <\/em><strong>merging trajectories<\/strong><em> or say that their <\/em><strong>Collatz orbits coalesce\/merge<\/strong><em>.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I want to close by circling back to the original issue: why hasn&#8217;t this problem been solved already, since it appears so simple? According to <a href=\"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11227-025-07337-0.pdf\" target=\"_blank\" rel=\"noopener\">this 2025 article<\/a> (PDF) in the <em>Journal of Supercomputing<\/em>, the problem has been computationally verified for every starting integer up to:<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">2,361,183,241,434,822,606,848 (or 2<sup>71<\/sup>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s 2 <em>sextillion<\/em> and change, a number that even Elon Musk will envy. The issue limiting testing numbers larger than that is simply one of computing power. The current computations were done using Nvidia and AMD <a title=\"Intel tries to explain the differences between CPUs and GPUs\" href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/products\/docs\/processors\/cpu-vs-gpu.html\" target=\"_blank\" rel=\"noopener\">GPUs<\/a>, installed into multiple European supercomputers, and which the scientists found were 52x faster than their best CPU implementation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As far as I&#8217;m concerned, 2 sextillion successful tests are all the proofs needed to pronounce the Collatz Conjecture solved. But I&#8217;m easily swayed, and not a mathematician. I&#8217;m sure that as computer technology advances, so will the ability to extend the testing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Until then, what I really care about is something that will improve my Sudoku performance.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"238\" height=\"17\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/06\/divider-1.png\" alt=\"\" class=\"wp-image-16862\"\/><\/figure>\n\n\n\n<p id=\"footnote\" style=\"margin: -1em 0;\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>[Footnote]<\/strong> If you&#8217;re unfamiliar with how Excel&#8217;s functions are used in formulas, perhaps the following graphic will be helpful in understanding the application of the MOD() function. You can click it to see a larger version.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-1568x984.gif\" target=\"_blank\" rel=\" noopener\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"643\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-1024x643.gif\" alt=\"A graphical breakdown of the 'if\/then' process employed by Excel's MOD() function as applied to the Collatz Conjecture\" class=\"wp-image-17199\" srcset=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-1024x643.gif 1024w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-300x188.gif 300w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-768x482.gif 768w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-1536x964.gif 1536w, https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/modfunctionexplained-1568x984.gif 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"#return\">Return<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"238\" height=\"17\" src=\"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/06\/divider-1.png\" alt=\"\" class=\"wp-image-16862\"\/><\/figure>\n\n\n\n<p style=\"padding: 8px; border: 2px solid black; background-color: #ccccff;\"><strong>Disclosure: How I used A.I. to create this post<\/strong><br><br>As I&#8217;ve disclosed in the post, I used ChatGPT to help with the implementation of the MOD() function in Microsoft Excel. I also submitted a final draft for its review as a <a title=\"Here's an explanation of the difference in roles\" href=\"https:\/\/nathanbransford.com\/blog\/2008\/07\/editing-vs-copyediting\" target=\"_blank\" rel=\"noopener\">copy editor (vs. as an editor)<\/a>, primarily to make sure I hadn&#8217;t missed some typos or misspellings (I had). However, it also pointed out a few areas where I had misunderstood some of the facts and theories related to these math problems, or where my explanations were unclear or even incorrect or misleading. So, it actually ended up being both copyeditor <strong>and<\/strong> editor. <br><br>I have an ongoing internal debate as to the need and usefulness of disclosures like this. I will <strong>always<\/strong> flag images that were created via A.I., and I will <strong>never<\/strong> use A.I. to write for me (<a href=\"https:\/\/ericsiegmund.com\/fireant\/2024\/11\/08\/happy-22nd-blogiversary-to-the-fire-ant-gazette\/\" target=\"_blank\" rel=\"noopener\">except to demonstrate its capability to do just that<\/a>). But I don&#8217;t disclose where autocorrect has worked its magic (or malice, IYKWIM); nor where a search engine&#8217;s A.I. has enhanced an explanation of a subject for which I&#8217;ve sought additional information or education; nor where my increasingly annoying failure to find just the right word leads me to a website displaying synonyms. Those things are essential in any [modern] writer&#8217;s toolbox, and a case could be made that a final scan by an A.I. bot of a draft article is just another of those tools.<br><br>I&#8217;d be very interested to know what you, dear reader, think about this question: is it better to &#8220;over-disclose&#8221; A.I. usage, or limit such disclosure to areas that have been significantly generated by A.I.? (Never mind that that raises many more questions. We have to start \u2014 or stop \u2014 somewhere.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you had told me that I would write a 1,400 word post about math, I would have laughed in your face. Well, here we are, and now it&#8217;s your turn to laugh.<\/p>\n","protected":false},"author":1,"featured_media":17182,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[192,1],"tags":[687,686,690,691,689],"class_list":["post-17181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","category-uncategorized","tag-collatz-conjecture","tag-math","tag-math-problems","tag-microsoft-excel","tag-mod","entry"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/ericsiegmund.com\/fireant\/wp-content\/uploads\/2026\/08\/header_meandmath.jpg","_links":{"self":[{"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/posts\/17181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/comments?post=17181"}],"version-history":[{"count":34,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/posts\/17181\/revisions"}],"predecessor-version":[{"id":17222,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/posts\/17181\/revisions\/17222"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/media\/17182"}],"wp:attachment":[{"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/media?parent=17181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/categories?post=17181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ericsiegmund.com\/fireant\/wp-json\/wp\/v2\/tags?post=17181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}