in reply to Re (tilly) 2: the secret of PI
in thread the secret of PI

Using your excellent Math::Fleximal and a conversion of the 5000 first digits '0'..'9'->'a'..'z'
I got several words (by matching them with my /usr/dict/words file)
If I keep only the words with more than 3 char, I got :

'buys'
'coin'
'dull'
'fats'
'feet'
'pots'
'test'
'tint'
'warn'
'warp'
'went'

And last but not the least 'monk' !


"Only Bad Coders Badly Code In Perl" (OBC2IP)

Replies are listed 'Best First'.
Re: Re: Re (tilly) 2: the secret of PI
by jmcnamara (Monsignor) on May 04, 2001 at 18:46 UTC

    Out of interest, how many digits are required to generate "perl"?

    John.
    --

      Note that since 26 is not divisible by 10, the characters will change dramatically with each new digit. So perl will appear at some point, then disappear when you add one more digit.

      (This calculation is not the same as working out what PI is in base 26. To do that you would need to rewrite the code to use Math::Fleximal and base 26 calculations everywhere.)