March 14, 2010The Mystery of 355/113Today's date is a good excuse to memorize a few more digits of 3.1415926 And yet decimal approximations to pi are an artifact of our tenfingered anatomy. Fractional approximations to pi are more satisfying, and they promise to teach us something more universal about pi. We all know that 22/7 is a very good approximation to pi. But this wellknown fraction is is actually 1/791 larger than a slightly lesswellknown but much more mysterious rational approximation for pi: . Remembering 355/113 The fraction 355/113 is incredibly close to pi, within a third of a millionth of the exact value. This level of accuracy is far beyond its rights as a fraction with such a small denominator, and it causes various oddities elsewhere in math. For example, use any scientific calculator to compute cos(355) in radians. The oddball result is due to the freakish closeness of 355/113 to pi. A cute mnemonic makes it easy for our base10 species to remember this useful fraction. Write down the first three odd numbers twice: 1 1 3 3 5 5. Then divide the decimal number represented by the last 3 digits by the decimal number given by the first three digits. The mystery is: why is this fraction so close to pi? The deeper you look, the more unique and unexplained 355/113 appears to be. The Unusualness of 355/113 In a 2000 lecture on rational approximations of pi, Fritz Beukers defines the "quality" of a rational approximation p/q as a number M such that
In words, the Beuker's quality M is the ratio between the number of digits of precision by the number of digits of the denominator. It is no surprise when we find a fraction that approximates pi with M around 1: for any q there will be a p/q within 1/q of any value. But it is rare to find M larger than 2. The best two approximations for pi we have seen are: and These approximations both have quality M > 3, which is unusually good. Both these fractions provide an approximation that have a precision with about triple what you would have any right to expect for their small denominators. Other Good Rational Approximations for Pi The fraction 355/113 overestimates pi by less than . It is not easy to approximate pi as economically as 355/113, but you can certainly try. If you have a good enough memory to remember the number 3748629, then you might find it handy to know that the following difference is even closer to pi:
In other words, subtracting 1/3748259 from 355/113 will provide an approximation to pi that is well within 10^{14} of the true value. By subtracting a couple fractions you are near the 10^{15} limits of IEEE 754 doubleprecision arithmetic. This new fraction is an excellent and economical way to approximate pi as the difference between two fractions. On the other hand, this new fraction is not as remarkable as 355/113:
While M > 1 tells us that the precision is better than a random denominator would give us, M is still much lower than the quality of 355/113. Looking for 355/113 in Wallis's Rational Expression Close coincidences in math are usually a hint of something deeper. So let us take a look at some computable sequences of rational numbers that converge to pi to see if 355/113 appears on some explainable path to pi. There are several beautifully computable and wellknown sequences of rational numbers that converge to pi. In 1655, shortly before the dawn of calculus, English mathematician John Wallis painstakingly computed an extended rational expression for the area of a circle to come up with one of the most memorable rational expressions for pi:
The partial expansions of this infinite fraction are:
This series converges very slowly despite having huge denominators, and our efficient fraction 355/113 is nowhere in sight. Looking for 355/113 in Taylor Series While developing modern calculus, Gregory and Leibniz systematicaly computed what we call the Taylor expansion for arctan. That formula leads to another pretty rational expansion for pi:
Partial expansions give us the converging sequence of rationals:
Unfortunately this sequence again converges slowly, and 355/113 does not appear. Looking for 355/113 in Gauss's continued fraction Gauss developed a clever generalized continued fraction for arctan that gives us a fasterconverging expression:
This expands to a sequence of rationals that converges much more quickly than the previous examples:
Ah, hah! Here we can see that Gauss's expansion of arctan has justified the rational approximation 22/7, which appears as the third approximation in the sequence. This seems to be a sideeffect of the efficiency of Gauss's sequence of rational numbers, which gets much closer to pi for a denominator of any given size. But 355/113 is still beyond the reach of this sequence. It does not appear here. Looking for 355/113 in Lange's Sequence In 1999 Lange derived another elegant expression for pi based on a continued fraction for arcsin:
The sequence of partial fractions begins:
This is another fastconverging sequence that includes 22/7. But again, 355/113 does not appear. The quest is not over; Mathematicians are still hunting for fasterconverging sequences of rational pi approximations. Beukers's lecture on this topic is worth a read. But 355/113 does not appear naturally in any these sequences that can be used to derive pi. Where Does 355/113 Come From? So, then, where does 355/113 come from? Is its nearness to pi a mere coincidence? A mathematical accident? A freak of nature? It may be. Or it might be a hint that there exists some asyet undiscovered sequence of rationals that converge much faster towards pi, for which the highly precise 355/113 is just one remarkable number among many. Posted by David at March 14, 2010 04:03 AMComments
is their any other fraction that is very close to pi... Posted by: pi master at October 1, 2010 08:36 PMThese are very interesting thoughts indeed, but isn't seeking for anything special in 355/113 like sticking too much What would all of this look like, if we had sixteen fingers and would be counting hexadecimal like natural? Please redo the math in HEX for me! ;) For a start, 22/7 in HEX would be 16/7 and *mindboggled* Hi David, Guido  the continued fraction sequence 3 7 15 1 292 1 1 1 2 1... is the continued fraction analogy to the decimal sequence 3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 etc: they are both guaranteedtoexist sequences of successively better approximations for pi that come from the real value of pi. Neither is a way to derive or compute pi if you don't already have the exact value. In other words, if you were to want to compute the continued fraction sequence, you would have to begin by computing a nearexact value of pi, and then work back to the continued fraction approximations. What would be remarkable if there was some direct way to derive the sequence 3 7 15 1 292 1 1 1 2 1 starting from just the counting numbers, without effectively computing pi some other way first. So far, no natural sequence that converges to pi so economically is known. The particular mystery of 113/355 is the same as asking "why is the number 292 in the continued fraction sequence so unusually large?" Posted by: David at December 20, 2010 06:53 AMGreetings David, Once upon a time some French lady gave me a GREAT present on PI day. What was the present? Well it was indeed PI ~= 355/113 with a reference back to my findings of prime numbers in the holy book of Islam, The Quran. The Quran has 114 chapters the first of which is called The Opener (The Key) while the remaining 113 are The Message (Straight Path to GOD). Within the Message I found a chapter that points to 2012 (well 1433 in Islamic Calendar to be precise) but I couldn't convince people that the number was the year 1433AH until I found that the number of words in the chapter was 355! This is the same exact number of days in an Islamic leap year which 1433AH is to be. So in short, the 113 is the Straight Path to GOD (Diameter) and the 355 is the number of days in a revolving Islamic year (Circumference). Now, to know that the Arabs used 22/7 while the Chinese used 355/113 only imply that the Chinese are more Muslim (Submissive to the Will of GOD) than the Arabs :) Ali Adams The next fraction after 355/113 that approximates pi with similar precision is 52163/16604. Averaging the two gives you 3.14159265386526  precise to the 9th decimal. The equivalent fraction is (gasp!) 11788839/3752504. Posted by: Joe at April 27, 2011 01:07 AMuse this method: pimasterfromhk needs to explain himself especially since 11/3 = 3.666... Now 10/3 = 3.33... So if you start with 4/1 = 4 and 3/1 = 3 you get the first two new terms 7/2 and 10/3, but this sequence converges to 3.38196... I know this comes in a bit late, but: 3/1 7/2 25/8 47/15 mmm... your blog doesn't accept greater than and less than signs, so these are missing from my previous post... ok will repost later Posted by: flatfly at July 24, 2012 10:22 AMWallis's Rational Expression starts by repeating each denominator twice. If you tack on a 1/1 in front of it, so the 1 is also repeated twice, then the denominators are 1,1,3,3,5,5, and etc. 1,1,3,3,5,5 is the "cute mnemonic" you told us to write down and remember above, and according to A.A., also the straight path to GOD and the number of days in an Islamic leap year. Clearly Wallis was reading the holy book, but left out the one true one to throw us off. Posted by: Skeuomorph at July 24, 2012 10:35 AMTry this ruby code: def strength(x, y) strength(22, 7) Argh. Somehow, I cut and pasted a typo into the code.
strength(22, 7) @Pi Master Yes there are: There is another fraction given by fourth root of (9^2 + 19^2/22) Posted by: at July 24, 2012 02:03 PMIt has been said that the Old Testament (1 Kings 7:23) claims pi is equal to exactly 3. However, there is a theory that the Hebrew text hides a much more accurate value for pi: " Rabbi Belaga presents the following explanation: The Hebrew word for line or circumference is written in the Bible as a 3 letter Hebrew word transliterated as kaveh,and whose equivalent English letters are KVH (kof, vav, hei). Yet, that word is read as a 2 letter Hebrew word whose equivalent English letters are KV. Hebrew letters have numerical values, and the letters in question have values kof = 100, vav = 6, and hei = 5. So KVH = 100 + 6 + 5 = 111, and KV = 100 + 6 = 106. The ratio of KVH to KV is 111/106, which when multiplied by the value of 3 that was implied by 1 Kings 7:23, gives 3.141509 (rounded), which is again pretty close to pi." Posted by: tao of me at July 24, 2012 03:18 PMThere are mathematical facts that are true for no reason, as Kurt Gödel demostrated in 1931. No mistery behind 355/113. Posted by: KurtGodel at July 24, 2012 07:16 PMThis is great information. You may need to take care of little typos around the number 3748629. In next line it is 3748269 and in the next it is 3748259. Indeed the number is not easy to remember. Posted by: Manoj R. at July 25, 2012 12:10 AMSo, if I remember the six digits of 355/113 it gives me the first six decimal places of pi. Doesn't seem like much of a saving. Posted by: Paul Linton at July 25, 2012 01:24 AMKurt Godel did no such thing. He proved the existense of undecidable propositions in logical systems such as set theory. Posted by: Gaus at July 25, 2012 06:17 AMThis is called Diophantine approximation. If I remember my math in college, one can find a fraction arbitrarily close to any real number. So, I don't there's anything "special" about this fraction and it's kind of silly to ask "why" and if it is a "coincidence". Is it a conincidence that a solution of x^2 = 2x is 2? Spoookkkyyy... Posted by: Lancem at July 25, 2012 10:17 AMHere is another way of "measuring" how coincidental this precision is. When you pick a denominator q, the piapproximation with that denominator will be within 1/(2q) of pi. Over all randomly chosen q, that error ought to be uniformly distributed between 0 and 1/(2q). Express this as a precision relative to 1/(2q)  i.e., u = p/q  pi / (1/(2q)), so that u is distributed as Uniform(0,1). For 355/113, u=60e6. If you choose one denominator at random, you'd only have 60 chances in a million of obtaining this level of precision. But, of course, you could look at enough denominators to eventually find something this good or better. What makes this approximation cool is that the denominator is only 3 digits. So the question to ask is what the probability of there being a 3digit denominator with a u<=60e6, purely by chance, if u is uniform. This probability turns out to be 6%. (Given by 1  (1 60e6)^1000 ). In statistics speak, that is almost, but not quite, statistically significant. Posted by: Lonnie at July 25, 2012 12:59 PMI'm no math expert, but I will try to respond to a few of the issues raised in the comments. @Lancem True, it is not remarkable to find a fraction that is close to pi, but the interesting part is finding one that is surprisingly close to pi considering it's small numerator and denominator. Usually, these have to be much larger for the fraction to be a good approximation. @tao_of_me @Ali_Adams I'm pretty sure the Quran and Bible are long enough that you can find any numbers you want by counting various subsets of chapters, words, letters, etc. Unless there is a definitive reason why one of these counts *should* equal an important number in math, it feels like pure coincidence. But, people love to find meaning in coincidence, so it is still fun to see. @(the guy posting about hex numbers) I like your point about decimal being arbitrary. Hexadecimal is just as good. Or any other base. However, it seems the point being made in this article is equally valid for any base. Regardless of the base, numbers with a greater value require more digits to write and vice versa. So, if a number is shorter and easier to memorize in decimal, the same is true in hexadecimal. For example, 162/71 is 355/113 in hex and it is shorter than 4F4FD508/193EE8F3, which is 1330631944/423553267 in hex. The closest I have found thus far is 9999999/3183101 = 3.141590229150760000000 In Biblical theology, 7 is said to be Hmm, it would be more accurate for the The number 9 is a unique number in and of 9 = Sum ( product [ ] ) = x * 9; Distil is adding the digits of the product The following pseudo code can produce this product = 9 * x While ( count( product [ ] ) > 1 ) foreach ( product as digit ) newProduct += digit } product = newProduct } Take care. Scott A. Tovey Posted by: Scott at July 25, 2012 06:20 PMThese are great comments and I understand almost all of them. Or maybe that's the tequila talking.... Any case, I appreciate the comments. thanks, This fraction is a good approximation of pi: 31415926535897932384626433832795 / 10000000000000000000000000000000 Posted by: Isaac Tesla at July 25, 2012 09:56 PMhttp://openlibrary.org/books/OL23278656M/Archimedes_Huygens_Lambert_Legendre. Archimedes, Huygens, Lambert, Legendre. pages 146147 has a table of rational approximations of pi 1:3 And then he points out that the last pair come to represent pi within 25 decimal places. Lambert came up with the idea that pi is irrational. This is part of the proof, but due to my poor understanding of German, I can not figure out where he came up with this series of rational approximations. Posted by: Bernard Greening at July 26, 2012 04:22 PMin your section I think one of these three is correct but you should correct the other two: A dylsexic moment? 3141592654:1000000000 :) Posted by: at August 3, 2012 06:15 PMAquí en la tierra existen dos personajes que han dicho ser Dios. Ellos son Jehová y Krishna. Es obvio que el Creador es uno solo. Read more on LaVerdaddeDios.com Posted by: Tony at January 4, 2013 12:53 PM355/113 = (2^5 + 3/11)/(2*5 + 3/11) 3/11 is the ratio of the moon's radius to the earth's. Posted by: Trevor Streeton at April 18, 2013 07:58 AMIf you program a computer to look for 2 3digit numbers, the ratio of which is between 223/71 and 22/7, only 4 possibilities arise. (300 + 22*k)/(100 + 7*k) for k = 1 to 4. (I'm still trying to figure out how the ancients could quantify the precision of any approximation via fractions). Whu 355/113 should have been chosen out of these 4 options, all better than the initial 2. Getting mystical (numerical synchronicities) Strike out all the digits found in the right hand side from the left and you are left with 1 1 2 2. Now, the extra digits in 355/113 gained over the two starting values are 1592. Here is a wierd numerical synchronicity connecting PI, 22/7 and Euler's number e where these digits turn up reversed. The first 9 digits of e (including the integer part) can be found in the sequence 228118278 at positions 21,33, 34, 37, 49, 52, 63, 66 & 68 of PI. Only 2 of these digits are correctly placed, the leading 2 and the 8 in the 6th place. Four swaps are necessary, the first is swapping the 2nd and 8th digits. The four swap codes, read zigzag, form a PI symbol rotated 180 degrees. The digits of e in these positions are Also 355/113 = 3*[360  (3+7)/2]/(360  3*7). To me it looks like the ratio is an artifact of the structure of number itself and not an analytically derived one. Posted by: at May 5, 2013 02:29 PM Enjoy a look at Johann Heinrich Lambert, 1792, at http://j.mp/16wYL1d – Fritz Posted by: Fritz Jörn at May 31, 2013 06:02 PMNotice the first approximation of pi that is even CLOSER than 355/113 is 52163/16604 (3.14159238...). Notice that 52163/16604pi, so just by adding 355 to 52163 and 113 to 16604 we get 52518/16717, a slightly closer approximation than 52163/16604. This can keep going until 104348/33215=3.14159265392. Posted by: Justin at November 28, 2013 09:36 PMHappy New Year! I have realized that 355/113 uses six digits in all, and 3.141592920354... has six decimal places correct, a very high degree of accuracy. This is most likely because in the continued fraction of pi, 355/113 occurs right before a 292! The next fraction this good is 21053343141/6701487259, followed by 2646693125139304345/842468587426513207! Posted by: Justin at January 2, 2014 08:00 PM283 divided by 90 You can reach pi by using any number! it's quite simple simply get a number multiply it by PI... {81pi} = 254.46900494077325 next get that number now divide by the original number in this case (81)... 1 x 0 = 0..... okay let's say I had one card in my hand, I multiply the amount of card(s) by zero how many cards do I have.. yeah I come up with the number one so why the hell did 0 become an accepted answer. mathematics is like magic it's an illusion. 355 is a Ferrari model 113 is the phone number of Carabinieri (the national military police of Italy) Furtherly misterious ratio! Posted by: Luc at January 21, 2015 11:32 AMPost a comment

Copyright 2010 © David Bau. All Rights Reserved. 