in reply to Re^2: Latent Japh in thread Latent Japh
I'm not a mathemagician  but I'm guessing that since pi's digits are an infinite nonrepeating sequence, then it must hold true that any other finite sequence you ever wanted to see exists somewhere in the digits of pi (possibly unfathomly deep in the numbers of pi though). So in theory, you could just fine the digit position at which the ascii codes for the sentence "Just another Perl hacker" occur naturally in order in the digits of pi, and calc down to there and then print them out.
Re^4: Latent Japh
by davido (Archbishop) on Oct 24, 2005 at 08:11 UTC

Google found me a website that allows people to search the first 200 million digits of PI for any sequence of digits (up to 120 digits). If you convert the phrase, "Just another Perl hacker,\n" to its ordinal values you get "74117115116329711011111610410111432801011141083210497991071011144410
" (all delimiters have been removed). Searching for that string of digits in the first 200 million digits of PI comes back with no matches.
The same website also shows a breakdown of probability of finding digit strings of certain lengths:
Digits  Probability 
15  100% 
6  Nearly 100% 
7  99.995% 
8  63% 
9  9.5% 
10  0.995% 
11  0.09995% 
The ASCII ordinal value string for "Just another Perl hacker,\n" is 68 digits long. I don't remember from stats classes how to predict the probability of finding a 68 digit sequence in a "random" sequence of 200 million digits, but I know the probability is extremely low. And as the search results show, "Just another Perl hacker,\n" isn't found in the first 200 million digits of PI.
As a matter of fact, the ordinal values of the ascii string "Just" also do NOT appear within the first 200 million digits of PI. And that's only an eleven digit pattern! A given 68 digit pattern might not even show up in the first 200 billion digits of PI. ...but then again it might. ;)
 [reply] 

JAPH appears, though: The string 74658072 was found at position 83,607,151 counting from the first digit after the decimal point. The 3. is not counted.
 [reply] 

I Just thought I'd add to this. Chris, you're an utter utter bastard.
 [reply] 
Re^4: Latent Japh
by blazar (Canon) on Oct 24, 2005 at 09:44 UTC

I'm not a mathemagician  but I'm guessing that since pi's digits are an infinite nonrepeating sequence, then it must hold true that any other finite sequence you ever wanted to see exists somewhere in the digits of pi
No, it is not true that "it must". In fact it needs not, i.e. a number's digits being an infinite nonrepeating sequence is not an sufficient condition for it to include any given finite subsequence. Check the definition of normal number (which is itself slightly stronger than the above, involving a requirement on the limiting frequency) e.g. here. However it is indeed postulated that pi is normal, but needless to say it's extremely difficult to prove such a claim.
In this vein you guys may also be interested in the miraculous BaileyBorweinPlouffe formula which gives somewhat unexpectedly (and slightly simplifying) the nth hexadecimal digit of pi independently of the previous ones, which makes it particularly suitable for distribuited computing...
 [reply] 
Re^4: Latent Japh
by liverpole (Monsignor) on Oct 01, 2005 at 22:59 UTC

Yes, that's what I was getting at. I think you said it better, though!
 [reply] 
Re^4: Latent Japh
by L33t1fy (Acolyte) on Oct 23, 2005 at 16:32 UTC

Latent Japh my ass.
I've definitely seen this before. Do the words "prank flash" *pop up* in mind? It should be *screaming* at you and *biting* you hard. But then again, some of us get a *heart attack* at that idea.
(Halloween joke: The thing to remember about pumpkins is that *things* can be stuck in their eyes and mouths, and that they are *soft* and *squishy* unless hollowed out...{shifty eyes}...NOT THAT I'D KNOW ANYHTING!)
 [reply] 

