{"id":629,"date":"2008-04-14T21:13:27","date_gmt":"2008-04-14T21:13:27","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2008\/04\/14\/xkcd-and-friendly-numbers\/"},"modified":"2008-04-14T21:13:27","modified_gmt":"2008-04-14T21:13:27","slug":"xkcd-and-friendly-numbers","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2008\/04\/14\/xkcd-and-friendly-numbers\/","title":{"rendered":"XKCD and Friendly Numbers"},"content":{"rendered":"<p> I&#8217;ve been getting mail all day asking me to explain something<br \/>\nthat appeared in <a href=\"http:\/\/xkcd.com\/410\/\">today&#8217;s XKCD comic<\/a>. Yes, I&#8217;ve been reduced to explaining geek comics to my readers. I suppose that there are worse fates. I just can&#8217;t<br \/>\nthink of any. \ud83d\ude42 <\/p>\n<p> But seriously, I&#8217;m a huge XKCD fan, and I don&#8217;t mind explaining interesting things no matter what the source. If you haven&#8217;t read today&#8217;s<br \/>\ncomic, follow the link, and go look. It&#8217;s funny, and you&#8217;ll know what<br \/>\npeople have been asking me about.<\/p>\n<p> The comic refers to <em>friendly numbers<\/em>. The question,<br \/>\nobviously, is what are friendly numbers?<\/p>\n<p> First, we define something called a divisors function over the integers, written &sigma;(n).  For any integer, there&#8217;s a set of integers that divide<br \/>\ninto it.  For example, for 4, that&#8217;s 1, 2, and 4. For 5, it&#8217;s just 1 and 5. And for 6, it&#8217;s 1, 2, 3, 6. The divisors function, &sigma;(n) is the sum of all of the divisors of n. So<br \/>\n$ sigma(4)=8, sigma(5)=6, sigma(6)=12.$<\/p>\n<p> For each integer, there is a <em>characteristic ratio<\/em>, defined<br \/>\nusing the divisors function. For the integer n, the characteristic<br \/>\nis the ratio of the divisors function over the the number itself: &sigma;(n)\/n. So the characteristic ratio of 4 is 7\/4; for 6, it&#8217;s<br \/>\n12\/6=2. <\/p>\n<p> For any characteristic ratio, the set of numbers that share that characteristic are <em>friendly<\/em> with each other. A friendly number is,<br \/>\ntherefore, any integer that shares its characteristic ratio with at least one other integer. If an integer isn&#8217;t friendly, then it&#8217;s called a <em>solitary<\/em> number. 1, 2, 3, 4, and 5 are all solitary numbers. 6 is<br \/>\nfriendly with 28 (1+2+4+7+14+28\/28 = 56\/28 = 2). <\/p>\n<p>replaceMath( document.body );<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been getting mail all day asking me to explain something that appeared in today&#8217;s XKCD comic. Yes, I&#8217;ve been reduced to explaining geek comics to my readers. I suppose that there are worse fates. I just can&#8217;t think of any. \ud83d\ude42 But seriously, I&#8217;m a huge XKCD fan, and I don&#8217;t mind explaining interesting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[43],"tags":[],"class_list":["post-629","post","type-post","status-publish","format-standard","hentry","category-numbers"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-a9","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=629"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/629\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}