Consider the word UNGRATEFUL. By erasing the 2 first letters we get GRATEFUL, by erasing 7
letters ATE, erasing 6 letters might create RATE or GATE, but not FATE, because our procedure does not allow changing the sequential order of the letters in the original word.
Now in our puzzle your task is to apply the above procedure to each of the words in "AMERICAN PROSPEROUS BUSINESSMAN", complying with the following rules:
1. In an n-letter word you are allowed to erase 1 to n-2 letters.
2. All words, common and proper nouns, all forms of verbs, confirmed by Google search are allowed.
3. No word might be repeated (e.g. like MAN in our case).
4. No abbreviations like USA, IOU, NB etc.
5. Plural form is ok.
6. For each of the 3 words count the total number of letters in the newly created list, call the result CA, CP, and CB.
7. You aim to get a maximal product CA*CP*CB.
Publish both your lists of words and the final score.
The 38 words in the American list contain 190 letters.
The 68 words in the prosperous list contain 544 letters.
The 65 words in the businessman list contain 520 letters.
The words in common between the CA and CP lists total 2 letters.
The words in common between the CA and CB lists total 18 letters.
The words in common between the CB and CP lists total 4 letters.
No words are common to all three lists.
It makes sense to take away from the largest, prosperous, the 6 letters involved in duplications with other lists. Then subtract the 18 letters from the businessman category.
(544-6)*(520-18)*190 = 51,314,440
american
ca =
1×38 string array
Columns 1 through 6
"aa" "ae" "ai" "ain" "am" "ama"
Columns 7 through 12
"amen" "ami" "amia" "amin" "an" "ar"
Columns 13 through 18
"arc" "aria" "can" "en" "er" "era"
Columns 19 through 24
"erica" "ern" "in" "ma" "man" "me"
Columns 25 through 30
"mean" "men" "mi" "mica" "ran" "ria"
Columns 31 through 35
"rin" "amin" "aran" "arian" "erin"
Columns 36 through 38
"ian" "mr" "ra"
ans =
190
prosperous
cp =
1×68 string array
Columns 1 through 6
"er" "eros" "ers" "es" "oe" "oes"
Columns 7 through 12
"op" "ope" "opes" "ops" "opus" "or"
Columns 13 through 18
"ors" "os" "ose" "oses" "pe" "per"
Columns 19 through 23
"pes" "pop" "pope" "popes" "pops"
Columns 24 through 28
"porous" "pose" "poser" "posers" "poses"
Columns 29 through 33
"pro" "prop" "proper" "propers" "props"
Columns 34 through 37
"pros" "prose" "proser" "prosers"
Columns 38 through 41
"proses" "proso" "prosos" "prosper"
Columns 42 through 46
"prospers" "pross" "pus" "re" "res"
Columns 47 through 51
"roe" "roes" "rope" "roper" "ropers"
Columns 52 through 56
"ropes" "rose" "roses" "ser" "serous"
Columns 57 through 62
"sers" "so" "sos" "sou" "sous" "us"
Columns 63 through 67
"eo" "eros" "peru" "poe" "prospero"
Column 68
"ross"
ans =
544
businessman
cb =
1×65 string array
Columns 1 through 6
"an" "ba" "ban" "be" "bean" "bema"
Columns 7 through 11
"ben" "bi" "bima" "bin" "bine"
Columns 12 through 16
"bines" "bins" "bis" "bum" "bun"
Columns 17 through 21
"bunn" "buns" "bus" "buses" "busies"
Columns 22 through 26
"business" "busman" "buss" "em" "en"
Columns 27 through 32
"es" "ess" "in" "inn" "ins" "is"
Columns 33 through 38
"ism" "ma" "man" "na" "nan" "ne"
Columns 39 through 44
"nema" "ness" "sea" "sen" "si" "sim"
Columns 45 through 49
"sima" "sin" "sine" "sines" "sins"
Columns 50 through 55
"sis" "um" "un" "unman" "uns" "us"
Columns 56 through 60
"use" "uses" "usnea" "bess" "bim"
Columns 61 through 65
"bin" "ian" "ines" "sian" "una"
ans =
520
american-prosperous
ans =
"er"
ans =
2
american-businessman
ans =
1×6 string array
"an" "en" "ian" "in" "ma" "man"
ans =
18
prosperous-businessman
ans =
1×2 string array
"es" "us"
ans =
4
|
Posted by Charlie
on 2023-12-25 19:38:26 |