![]() |
OT: The first 4,000,000 digits of Pi, visualized in a single image - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: OT: The first 4,000,000 digits of Pi, visualized in a single image (/thread-219100.html) |
OT: The first 4,000,000 digits of Pi, visualized in a single image - Jeff Kearns - 04-26-2012 Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - C.Ret - 04-26-2012 HI,
I really wonder how they keep 4'000'000 digits in a JPG picture of 960 x 540 pixels. If the compression rate is one pixel per digit of PI, the maximum of digits store in such an image size it at maximum 518'400. Moreover, the JPG is a losy compressing process, so most of the PI digit are lost there! OK. I always surprise how in the nowadays digital world, peoples have lost elementary notion of what a digit is! Here a bunch of question following this remarkable link. What will be the pixel Height and Width of an standard 4/5 proportion bitmap picture (standard) needed to store then 4'000'000 first digits of PI at the rate of one colored pixel per digit? And for a 16/9 sized picture? What, will be the bit depth to code for the 10 digits code (0 to 9) ?
What will be the minimal size of the corresponding bitmap image?
What is the pixel surface of the large black PI draws in the middle of the bitmap?
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Bill (Smithville, NJ) - 04-26-2012 Quote: You're right, but go to the APP page and you'll see that they show it as a 500,000 digit section of the total 4 million. You can use the right hand scroller to move to any 500,000 digit section.
Bill
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - C.Ret - 04-26-2012 Thank you very much for the link !
It is well done. And the used color set (for coding digits) is of a great effet making the whole image green/blue !
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Crawl - 04-26-2012 That's not the real image. The real image is here:
http://two-n.com/pi/
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Matt Agajanian - 04-26-2012 Hello all. Please help me figure this out. Yes, it is quite amazing and fascinating that in our technical and machine age, we can devise computational methods to unravel Pi to more and more digits every year. Obviously, as Pi is an irrational value with no repeat in sight, what's the point of finding its value to the umpteen billionth decimal place? What further puzzles me is that even with the best computers, they can only process calculation with double or triple precision, so again, what's the point of Pi to the seven millionth, etc. decimal place? And, even so, people can only comprehend and use Pi to a handful of digits for both regular usage and even in the sciences.
Just wondering
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Steve Simpkin - 04-26-2012 The same reason people climb mountains. Because it is there.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Matt Agajanian - 04-26-2012 Thanks for quoting James T. Kirk (yes, from 'Star Trek V: The Final Frontier.' I can see the point of the challenge as with computer programming. I guess I was looking too closely at the practicality of Pi's multi-million digit string and not seeing it as a challenge to be fascinated by.
Thanks
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Howard Owen - 04-26-2012 I was born on February 4th, 1956. If I put that in mmddyyyy format, it's 02041956. That sequence doesn't occur in the first 4 X 106 digits of Pi, according to the search function on the java applet linked to in the referenced article. If I code my birthday as ddmmyyyy, I get 04021956, which also doesn't appear. 241956 does show up, however. (The applet says it handles up to 6 digits, but it will actually accept 8, and find other 8 digit strings.) What is the probability that a given 8 digit sequence will be found in the first 4 million digits of Pi? How many digits of Pi would you need to reach a probability of, say, 80% that such a sequence would appear? Given a particular eight digit sequence, what is the probability that the first sequence and another sequence formed by transposing 2 arbitrary digits in the original will both appear in 4 million digits of Pi?
Please show your work because I have no freakin' idea how to find the answers. :)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - fhub - 04-26-2012 Quote:Well, I would say you are just too old for Pi. ;-)
For me it's even worse: birthyear 1955. :-(
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Pete Wilson - 04-26-2012 Along the lines of your questions, I would like to see the visualization with more compressed mappings to the digits. How about mapping three digits to 10% increments of RGB? Or, given 8-bit JPEG depth, how about mapping two digits at a time to each of RGB? Somehow I think a little ImageMagick is in order.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Bart (UK) - 04-26-2012 Ha ha, that reminds me of an early episode of Star Trek where Spock tasks the Enterprise's onboard computer to calculate the last digit of pi, causing it to channel all it's resources to the problem thus diverting it from doing something bad. Although I was still quite young, it left an impression on me as it was the first time the endlessness of pi dawned on me (my maths teacher probably had mentioned it, but it just doesn't carry the same impact as your favourite sci-fi program :-).
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Bill (Smithville, NJ) - 04-26-2012 If you like PI visualized in color, there's also PI visualized as music. There are plenty of videos showing it, but I like he following:
Bill
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - P.Hart - 04-26-2012 Quote:No, not Capt. Kirk. The quotation is from a 1930's British mountaineer Eric Shipton who was asked why he was trying to climb Mt Everest. Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - W. Bruce Maguire II - 04-26-2012 Howard:
Quote:
Well, I'm not a mathematician, but I would say that it would be reasonable to assume that the digits of 'pi' are random for this sort of thing. The probability that a given *random* digit was the same as your first "given" digit would be 1 in 10. The next digit would be independent of the first, so the probability would again be 1 in 10. Therefore, the probability that any 8 random digits exactly matches your "given" 8-digit number would be 1 in 10^8 (or 1e-8). So the probability that the first 8 "random" digits in 'pi' do *not* match yours is (1 - 1e-8). So the probability that 4 million (4e6) consecutive tries do *not* match is ((1 - 1e-8) ^ 4e6). So: P = (1 - 1e-8) ^ 4e6That means there is a 96% chance of *not* matching the "given" 8 digits; so I would say you have about a 4% chance of finding any given 8-digit sequence in the first 4-million digits of 'pi'.
Quote:Well, that would mean how many digits do you need to have only a 20% chance of *not* finding your given 8-digit sequence, so from above: 0.20 = (1 - 1e-8) ^ NSo I would say that you would need to have 161 million digits of 'pi' to have an 80% chance of finding your given 8-digit sequence in there. I gotta go, so I can't look at the other question(s).
I *really* hope that I didn't embarrass myself! Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - nina scholz - 04-27-2012 it accepts only 6 digits for searching ...
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-27-2012 So your formula states that the probability p that an n-digit sequence appears in the first N digits of pi is p = 1 - (1 - 10-n)NThis matches the examples in a table in The Pi-Search Page. Number Length Chance of Finding (in the first 100 million digits of pi) Well done!
Gerson.
Now, that is a proof - Frank Boehm (Germany) - 04-27-2012 They always said, there is no secret to be found within the number of Pi - but it seems that they were wrong. I can see a huge "pi"-Sign right in the middle of the chaos. Did someone else notice this as well?
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Jeff O. - 04-27-2012 The purpose of Spock's assignment was to drive an evil entity (which had been various incarnations of evil throughout history including Jack the Ripper) from the ship's computer. Of course one might call being able to give the computer a problem to which it would devote more and more resources until it could do nothing else a serious security flaw.
(season 2 Episode, "Wolf in the Fold", original air date 12/22/67, episode Stardate 3614.9)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Howard Owen - 04-27-2012 It says it only accepts six, but it actually accepts eight. It just occurred to me that the stated limit might be because (per Gerson's formulation of Bruce's procedure) the probability of an eight digit sequence being found in the first 4 X 106 digits of Pi is 3.9%, whereas a six digit string has a probability of 98% of occurring. Six digits would limit the birthday format to mmddyy, or ddmmyy. Using the first format, my birthday appears 4 times in the given data set.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-27-2012 The table says 100% for n=1 to 5 (in the first 100 million digits of pi). That's true for the digits 0 through 9, since this is verified in the first 33 digits of pi. For 2, 3, 4 and 5-digit sequences the probability is very close to 100%, but not exactly 100%. Any particular reason for not using 10^X?
001 LBL 'PIPor, more accurately, 001 LBL 'PIP
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Paul Dale - 04-27-2012 Quote: Unless, of course, all such sequences really do occur in the digits available. In this case the probability is 1.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-27-2012 Yes, but until all 111,100 sequences have been checked we cannot take that for granted.
Gerson.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Paul Dale - 04-27-2012 I suspect they have been :-)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-27-2012 Most likely all sequences are there: http://www.wolframalpha.com/input/?i=100%281-%281-10%5E-5%29%5E1e8%29 Click four times on 'More digits'.
Gerson.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-28-2012 You'll find the first occurrence of the sequence 02041956 at position 252,431,153, according to Pi Explorer.
Gerson.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Bart (UK) - 04-28-2012 I must have seen it a dozen or so years after it's first air date (I would have been 1 at the time :-). Apart from that flaw, I think these days we would expect a futuristic computer to be programmed with an intelligent response that it would be futile to attempt that sort of task :-).
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Jeff O. - 04-28-2012 Hi Bart, Quote:I won't give my exact age, but I'm pretty sure that I saw it on its original air date. Edited: 28 Apr 2012, 5:06 p.m.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Pete Wilson - 04-28-2012 I'm pretty sure Spock is a system admin :)
-- Pete (a system admin)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Howard Owen - 04-28-2012 Good to know, Gerson! Now, what exactly can I do with this information? :)
It's a leading question. Be nice. :)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Gerson W. Barbosa - 04-28-2012 Just thought you'd like to know, since you appeared to be somewhat disappointed because your birthday string would not show up in the first few million digits of pi. Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Howard Owen - 04-28-2012 Quote:Helping me to understand the probabilities reduced my disappointment considerably. :)
Quote: Along the same lines, Here are some strings I'd like to see in Pi:
Apologies, slow afternoon. :)
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Crawl - 04-29-2012 Actually, looks like they got the very first digit wrong:
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Jeff Kearns - 04-29-2012 I am unable to reproduce this string when I place my cursor at the upper leftmost position. I get the decimal portion of Pi starting with 141592... Has anyone else gotten this result?
Jeff
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Ed Wright - 04-30-2012 This quote is always attributed to George Mallory, also a great British explorer who died in his attempt to climb Mt. Everest.
Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - P.Hart - 04-30-2012 Quote:You may be right. Memory fallible but it says I have seen the saying attributed to Shipton in a book by one of his contemporary mountaineers. According to Wikipaedia on Mallory there is doubt about the attribution to him. Re: OT: The first 4,000,000 digits of Pi, visualized in a single image - Ed Wright - 04-30-2012 I wasn't aware of the controversy. It appears we'll never know who really said it.
|