{"id":205,"date":"2020-09-10T19:57:04","date_gmt":"2020-09-10T19:57:04","guid":{"rendered":"http:\/\/7stones.com\/?p=205"},"modified":"2020-09-10T20:01:49","modified_gmt":"2020-09-10T20:01:49","slug":"number-theory-for-complete-beach-puppies","status":"publish","type":"post","link":"http:\/\/7stones.com\/?p=205","title":{"rendered":"Number theory for complete beach puppies"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Not only optimal, but intended.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Caveat: I\u2019m lazy, so grains of salt should be on hand while reading this blog. Due diligence and researching precedents are not my fortes. I depend on google for that, but I do not always avail myself of its services. If you\u2019ve read my previous blogs, then you\u2019re likely already prepared.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s recap. These are a few of my favorite mathematical things:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u24b6 Primes numbers;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2781\ufe0e Parallelizable spheres in dimensions 1,2,4,8;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2162\ufe0e Pretty pretty laminated lattices in dimensions 1,2,8,24.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this episode I want to discuss prime numbers, and how I perceive my thinking about primes differs from &#8211; well, this is unclear. Let\u2019s just say I\u2019ve not encountered views similar to those I\u2019m about to extoll, but then, this is not my field. I am merely an enthusiastic dilettante, like a puppy at the beach.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, I recently happened upon an <a rel=\"noreferrer noopener\" href=\"https:\/\/www.quantamagazine.org\/mathematicians-will-never-stop-proving-the-prime-number-theorem-20200722\/\" target=\"_blank\">article<\/a> suggesting that mathematicians will never stop finding novel ways to prove the prime number theorem. Which is what? Well, if you plot \u03c0(n) (the number of primes less than or equal to n) vs n, the plot rises in a manner that looks like it may relate to ln(n). This gave rise to the following approximation:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u03c0(n) ~ n \/ ln(n).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is not a very good approximation. I don\u2019t care if the step function \u03c0(n) and the smooth function [n \/ ln(n)] cross each other an infinite number of times (I don\u2019t know that they do), if you look at the table <a rel=\"noreferrer noopener\" href=\"https:\/\/en.m.wikipedia.org\/wiki\/Prime-counting_function\" target=\"_blank\">here<\/a> comparing these two functions, it is clear that Nature is largely uninterested in the correspondence. Still, the ratio of these two functions has been proven to converge to 1, and that is the prime number theorem, which, according to that aforementioned article, is a thing that mathematicians make a hobby of repeatedly proving. Never mind that they diverge in an arithmetic sense; but how about that ratio!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Still, better approximations abound. Maybe [1 \/ ln(x)] is the density of primes at x, in which case the integral of that from 2 to n, denoted Li(n), should be a good approximation to \u03c0(n). In fact, this is a better approximation, but while it is true that \u03c0(n) \/ Li(n) converges to 1, Li(n) does not at all behave like it is Nature\u2019s intended smooth approximation to \u03c0(n).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Does Nature have intended smooth approximations to number theory step functions? Is this a thing? Yes, it is. Never mind how I know; just take my word for it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Evidently Riemann found an exact form for \u03c0(n), which is discussed <a rel=\"noreferrer noopener\" href=\"https:\/\/en.m.wikipedia.org\/wiki\/Prime-counting_function\" target=\"_blank\">here<\/a>. Riemann was there first for quite a bit of modern mathematics, and the zeros of his famous zeta function play a part in his exact form. As this involves the as yet unproven Riemann Hypothesis, I\u2019m going to pretend Riemann never existed and carry on discussing \u03c0(n) from my own peculiar perspective.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Peculiar perspective<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To begin with, there is a problem with the notion of just counting primes as they pop up. What you really want is a measure of prime <em>occurrences<\/em>. I mean, consider the integers from 1 to 10. There are 4 primes in that collection: 2, 3, 5, 7. But there are more <em>occurrences<\/em> of primes than just those primes. What I mean by that is this: the prime 2 occurs 3 times, because 2\u00b3 = 8 is less than 10. And the prime 3 occurs twice, because 3\u00b2 = 9 is less than 10. But how do we measure that? In my puppy on a beach investigations I decided upon lcm(n) (least common multiple of the integers from 1 to n). So, for example, lcm(10) = 2\u00b3 x 3\u00b2 x 5 x 7 = 2520.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you plot lcm(n) it looks a lot like a step function version of e<sup>n<\/sup>. Did you see? Therefore without a shadow of a doubt Nature\u2019s intended smooth approximation to ln[lcm(n)] is a simple linear function:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ln[lcm(n)] ~ n-1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why subtract 1? Well, I did that to enforce equality at n = 1. Nature concurred. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want another test? Well, if <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">lcm(n) ~ e<sup>n-1<\/sup>, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">then<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[lcm(n)]<sup>1\/(n-1)<\/sup> ~ e. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plot that. Take your time. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyway, I will go to my grave (in the not too distant future, unfortunately) fully convinced that these smooth approximations of these number theory step functions are Nature\u2019s intended approximations. And I just don\u2019t understand why in all my beach puppy readings in number theory &#8211; back in my beach puppy days &#8211; I never encountered this sort of thing. I\u2019m not the only person to have noticed this.  If I ever write a book entitled <em>Number Theory for Complete Beach Puppies<\/em>, this lcm(n) stuff will form its core.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, so I used this Nature\u2019s intended approximation to derive a <a href=\"https:\/\/www.researchgate.net\/profile\/Geoffrey_Dixon2\/project\/Hobby-Number-Theory\/attachment\/59970463b53d2ff30bda9e77\/AS:528725050445824@1503069283441\/download\/_hobby_pi.pdf?context=ProjectUpdatesLog\" target=\"_blank\" rel=\"noopener noreferrer\">really really good (Nature\u2019s intended) approximation<\/a> to \u03c0(n). And that\u2019s my story. You\u2019ll find that I will be sticking to it like a limpet on a rock.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Not only optimal, but intended. Caveat: I\u2019m lazy, so grains of salt should be on hand while reading this blog. Due diligence and researching precedents are not my fortes. I depend on google for that, but I do not always avail myself of its services. If you\u2019ve read my previous blogs, then you\u2019re likely already &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/7stones.com\/?p=205\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Number theory for complete beach puppies&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/7stones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":3,"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":208,"href":"http:\/\/7stones.com\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions\/208"}],"wp:attachment":[{"href":"http:\/\/7stones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/7stones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/7stones.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}