{"id":224,"date":"2020-02-25T17:50:38","date_gmt":"2020-02-25T17:50:38","guid":{"rendered":"https:\/\/blogs.butler.edu\/ghs208spring2020\/?p=224"},"modified":"2020-02-25T17:50:38","modified_gmt":"2020-02-25T17:50:38","slug":"the-chinese-remainder-theorem","status":"publish","type":"post","link":"https:\/\/blogs.butler.edu\/ghs208spring2020\/2020\/02\/25\/the-chinese-remainder-theorem\/","title":{"rendered":"The Chinese Remainder Theorem"},"content":{"rendered":"<p>Hey guys, I know mathematics isn&#8217;t most peoples cup of tea but this Theorem is actually\u00a0<span style=\"text-decoration: underline\">REALLY<\/span> useful.<\/p>\n<p>Say I&#8217;m a general in the Chinese military in the 3rd-Century and I want to know how many soldiers are in my army. Well is I was Sun-Zi I would arrange them in ranks of prime number size. Then I would count the remainder in an incomplete rank. I would do this two more times with the next consecutive primes. The three of these numbers modulo there respective primes are then congruent to the total number of soldiers I have in my army.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/9\/9d\/Sun_Tzu_Chinese_remainder_theorem.svg\/220px-Sun_Tzu_Chinese_remainder_theorem.svg.png\" \/>Here is a picture example with primes 3, 5, and 7<\/p>\n<p>For more information about this topic I&#8217;ve included a few links below for you to browse to your hearts content. Until next we meet, have an excellent day!<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Chinese_remainder_theorem\">https:\/\/en.wikipedia.org\/wiki\/Chinese_remainder_theorem<\/a><\/p>\n<p><a href=\"https:\/\/www.britannica.com\/science\/Chinese-remainder-theorem\">https:\/\/www.britannica.com\/science\/Chinese-remainder-theorem<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey guys, I know mathematics isn&#8217;t most peoples cup of tea but this Theorem is actually\u00a0REALLY useful. Say I&#8217;m a general in the Chinese military in the 3rd-Century and I want to know how many soldiers are in my army. Well is I was Sun-Zi I would arrange them in ranks of prime number size. [&hellip;]<\/p>\n","protected":false},"author":9194369,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/users\/9194369"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":1,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":374,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/posts\/224\/revisions\/374"}],"wp:attachment":[{"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.butler.edu\/ghs208spring2020\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}