Steve Wampler <[EMAIL PROTECTED]> skribis:
> Hethcoat-III, Charles L wrote:
> > Looking back a bit, no one seems to have followed up on an interesting
> > suggestion someone made about using prime numbers to solve the puzzle.
> > (Unfortunately, I have lost the original posting so I cannot credit the
> > poster.)  I think the suggestion was to assign prime numbers to the
> > letters of the alphabet and then do a product of the letter-values of
> > the state names.  I haven't tested this idea.  Has anyone else?  Does it
> > generate unusably huge numbers?  I'll try to do some experiments in this
> > area ... maybe ... time permitting.
> 
> That's essentially a Goedel numbering scheme.  It's clever.  It could generate
> large numbers if the input has long phrases (especially with lots of letters
> near the end of the alphabet!)  I don't know if there's a performance 
> advantage
> over using the letters themselves to form the signature or not.

The strings are equivalent to base-256 so you could easily convert
them to integers&mdash;especially if Icon had EQUIVALENCE statements!
:)

-- 
Barry.SCHWARTZ ĉe chemoelectric punkto org  http://chemoelectric.org
              Free stuff / Senpagaj varoj:  http://crudfactory.com
'Democracies don't war; democracies are peaceful countries.' - Bush
(http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html)

Attachment: pgpJBbBxjvKTl.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to