Joey's solution is so very quick and satisfying that this is hardly
worth remarking, but I will anyway!
A 1 million-dollar word may only contain letters whose values are
factors of 1 million, namely
2 4 5 8 10 16 20 & 25
so words containing letters other than
b d e h j p t y
may be excluded immediately.
My wordlist with ~ 173000 words has only 112 "valid" words,
including "typey".
M
Joey K Tuttle wrote:
> I don't consider j to be a typey language... Pretty specialized lexicon!
>
> words {~ I. 1e6 = ; */ &.> ' abcdefghijklmnopqrstuvwxyz'&i.&.>
> words =. <;._2 ] 1!:1<'itawords.txt'
> +-----+
> |typey|
> +-----+
>
>
> At 21:33 -0700 2010/06/15, Roger Hui wrote:
>
>> >From the Journal of Recreational Mathematics,
>> Volume 27, Number 2, 1995.
>>
>> Map a to $1, b to $2, ... z to $26. The value of
>> a word is the product of the values of its letters.
>> Find a million dollar word.
>>
>> If you need a lexicon, there is one available at
>> http://www.jsoftware.com/jwiki/Puzzles/Palindromic%20Pangram?action=AttachFile&do=get&target=itawords.txt
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm