{"id":289,"date":"2019-06-26T23:24:28","date_gmt":"2019-06-26T23:24:28","guid":{"rendered":"http:\/\/funfacts.104.42.120.246.xip.io\/?page_id=289"},"modified":"2019-11-22T17:13:10","modified_gmt":"2019-11-22T17:13:10","slug":"four-fours-problem","status":"publish","type":"page","link":"https:\/\/math.hmc.edu\/funfacts\/four-fours-problem\/","title":{"rendered":"Four Fours Problem"},"content":{"rendered":"\n<p>Here&#8217;s a challenge that you may wish to try: can you express all the numbers from 1 to 100 using an arithmetic combination of only four 4&#8217;s?<\/p>\n\n\n\n<p>The operations and symbols that are allowed are: the four arithmetic operations (+,x,-,\/), concatenation (44 is ok and uses up two 4&#8217;s), decimal points (using 4.4 is ok), powers (using 4<sup>4<\/sup>&nbsp;is ok), square roots, factorials (using 4! is ok), and overbars for indicating repeating digits (e.g., writing .4 with an overbar would be a way of expressing 4\/9). Ordinary use of parentheses are allowed. No digits other than 4 are allowed.<\/p>\n\n\n\n<p>So for instance, here is a complicated way to write 70 using four fours:4 + [44\/Sqrt(.4-overbar)].<\/p>\n\n\n\n<p>This problem is sometimes called the\u00a0<em>four fours<\/em>\u00a0problem. I&#8217;m not sure where it first originated but it was popularized by\u00a0Martin Gardner, among others.<\/p>\n\n\n\n<p><strong>Presentation&nbsp;Suggestions:<\/strong><br>This puzzle makes an excellent extra credit problem. Or, you might suggest it as a joint project for a whole class to work on: have them post solutions on a bulletin board as they find them. For a computer science course it makes a nice programming exercise in the language prolog.<\/p>\n\n\n\n<p><strong>The&nbsp;Math&nbsp;Behind&nbsp;the&nbsp;Fact:<\/strong><br>Actually, all the numbers less than 113 can be constructed in this fashion. While I won&#8217;t spoil the fun and tell you the answers, let me just say (from experience) that the hardest numbers to express in four 4&#8217;s are the numbers 69 and 73. These require especially clever combinations of the operations above.<\/p>\n\n\n\n<p>A difficult (and as far as I know unsolved) mathematical challenge is to prove that the number 113 cannot be constructed using these operations.<\/p>\n\n\n\n<p>It should be noted that there are&nbsp;<em>many<\/em>&nbsp;versions of this problem that have floated around, differing only in the sets of operations that are allowed. (For instance, 113 can be done if you allow arccos as a function.)<\/p>\n\n\n\n<p><strong>How to Cite this Page:<\/strong>&nbsp;<br>Su, Francis E., et al. &#8220;Four Fours Problem.&#8221;&nbsp;<em>Math Fun Facts<\/em>. &lt;http:\/\/www.math.hmc.edu\/funfacts&gt;.<\/p>\n\n\n\n<p><strong>Fun Fact suggested by:   <\/strong><br>Francis Su <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a challenge that you may wish to try: can you express all the numbers from 1 to 100 using&#46;&#46;&#46;<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[153,79,3,12,52,110],"class_list":["post-289","page","type-page","status-publish","hentry","tag-arithmetic","tag-computer-science","tag-easy","tag-other","tag-puzzle","tag-recreational-mathematics"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":3,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/289\/revisions"}],"predecessor-version":[{"id":1446,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/289\/revisions\/1446"}],"wp:attachment":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/tags?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}