{"id":10861,"date":"2013-01-02T18:05:24","date_gmt":"2013-01-02T23:05:24","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=10861"},"modified":"2013-01-02T18:31:18","modified_gmt":"2013-01-02T23:31:18","slug":"10-98-7-%c3%97-6-5-%c3%97-4-%c3%97-3-21","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=10861","title":{"rendered":"(10 + 98 &#8211; 7 \u00d7 6 &#8211; 5) \u00d7 (4 \u00d7 3 + 21)"},"content":{"rendered":"<p>&nbsp;<br \/>Yesterday&#8217;s post was inspired by Peter Norvig&#8217;s new year&#8217;s greeting, which was:<center><br \/>\n<b>Happy 10\/9!*8!*7!-6!*5!\/4!+3!*2!+1!<\/b><br \/>\n<\/center>&nbsp;<\/p>\n<p>I thought his greeting was wonderful, but it bothered me that it relied so heavily on factorials, which many people don&#8217;t understand.  I wondered whether it would be possible to use only add, subtract and multiply, plus concatenation (eg: 1 and 2 can become 12), so that more people would be able to read the message.  For variety, I decided to put the digits in forward order.<\/p>\n<p>My strategy for finding a solution was to start with 2013 and work backwards, trying to whittle things down to zero.  First I tried 2013 &#8211; 1234, but that gave 779, and I couldn&#8217;t see how to get from 779 down to zero using just the remaining digits 5,6,7,8,9.<\/p>\n<p>So I then backtracked and tried 2013 &#8211; 123.  That gave me 1890, and I knew I was in luck, since 1890 is a multiple of 90, so it must also be a multiple of 45. That gave (2013 &#8211; 123) \/ 45 = 42, which is just 7 &#215; 6 &#8212; two more digits down.<\/p>\n<p>At this point it was done, except for incorporating 8 and 9.  Fortunately (8 &#8211; 9) is -1, which is easy to slip in, giving the final result: 0 + 123 &#8211; 45 \u00d7 6 \u00d7 7 \u00d7 (8 &#8211; 9) = 2013.<\/p>\n<p>Still, there was something very cool about the fact that Peter Norvig&#8217;s sequence was an actual countdown from 10 to 1 &#8212; just like the countdown to midnight at Times Square on New Years Eve.  So this morning I figured I&#8217;d try such a countdown, again using only &#8220;easy to read&#8221; arithmetic.<\/p>\n<p>Since 2013 = 61 &#215; 33, this time I took a different approach:<\/p>\n<p><center><br \/>\n<big>61<\/big> &nbsp;<big>&rarr;<\/big>&nbsp; 10 + <font color=red>56<\/font> &#8211; 5 &nbsp;<big>&rarr;<\/big>&nbsp; 10 + <font color=red>(98 &#8211; <font color=blue>42<\/font>)<\/font> &#8211; 5 &nbsp;<big>&rarr;<\/big>&nbsp; 10 + <font color=red>98 &#8211; <font color=blue>7 &#215; 6<\/font><\/font> &#8211; 5<\/p>\n<p><big>33<\/big> &nbsp;<big>&rarr;<\/big>&nbsp; <font color=red>12<\/font> + 21 &nbsp;<big>&rarr;<\/big>&nbsp; <font color=red>4 &#215; 3<\/font> + 21<br \/>\n<\/center>&nbsp;<br \/>\nAnd there you have it &#8212; the title of today&#8217;s post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Yesterday&#8217;s post was inspired by Peter Norvig&#8217;s new year&#8217;s greeting, which was: Happy 10\/9!*8!*7!-6!*5!\/4!+3!*2!+1! &nbsp; I thought his greeting was wonderful, but it bothered me that it relied so heavily on factorials, which many people don&#8217;t understand. I wondered whether it would be possible to use only add, subtract and multiply, plus concatenation (eg: 1 &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=10861\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;(10 + 98 &#8211; 7 \u00d7 6 &#8211; 5) \u00d7 (4 \u00d7 3 + 21)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/10861"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10861"}],"version-history":[{"count":137,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/10861\/revisions"}],"predecessor-version":[{"id":10997,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/10861\/revisions\/10997"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10861"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}