Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

(tye)Re: (Golf) mobile phone numbers - words

by tye (Cardinal)
on May 29, 2001 at 18:38 UTC ( #83948=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) mobile phone numbers - words
in thread (Golf) mobile phone numbers -> words

The number of possible letter arrangements is 3**10, or 59,049, not anywere near 3e10! But even if there were 3e10 possible arrangements, that doesn't matter. You need to search the dictionary so instead of generating some huge list of possible words and then searching the dictionary to see if any of them are in it, instead go through the dictionary and see if any of the words would match the phone number!

        - tye (but my friends call me "Tye")


Comment on (tye)Re: (Golf) mobile phone numbers - words
Re: (tye)Re: (Golf) mobile phone numbers - words
by tachyon (Chancellor) on May 29, 2001 at 20:01 UTC

    Hi tye, lost the plot in the translation from 3exp10 as I wrote to decimal. Register error. I failed to register my error!

    To absolve myself from moronicity I will have to code a respnse now. Damn you (red baron)! I just hate it when people point out my calculations are a *mere* 50805 orders of magnitude off.

    Despite that fundamental error the basic binomial point is valid. For any ten digit number we are most likely to find a solution from several small words rather than one big word:

    For example, here are some 10 letter possibilities:

    Colt Firearms: very-big-gun; rat-a-tat-tat; you-are-dead;

    Perl Security: the-perl-kid; perl-hacker; naughty-boy; the-perl-man; perl-secure; now-at-intel; perl-busted; lawyer-crap; in-hot-water; im-ok-for-now; just-call-us; dont-foobar; we-know-perl;

    Perl lyrics: p-p-p-p-p-p-perl; shes-my-baby;.....p-p-p-perl, I don't mean maybe.

    Losing the plot: sleep(rand*28800)

    tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://83948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-10-01 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls