All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
Abarcadraba (Posted on 2012-01-10) Difficulty: 4 of 5
This is a variation of Abracadabra.

The words "notion", "thought" and "devolved" share a similar pattern.

Each of the three words consist of three groups of letters where the third group is formed by writing the first group in reverse order and the second group of letters is between them and, each of the three groups consists of 2 or more letters.

None of the words can be palindromes, and:
None of the words can be plurals or proper nouns.

What is the longest word satisfying all the above conditions ?

Bonus Question:

For an extra challenge, find the longest word satisfying all the given conditions with the added proviso that none of the words can start with DE or RE.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution Comment 3 of 3 |

OPEN "\words\words.txt" FOR INPUT AS #1
OPEN "abraarba.txt" FOR OUTPUT AS #2
CLS
DO
 LINE INPUT #1, w$
 IF LEN(w$) >= 6 THEN
   IF LEFT$(w$, 1) = RIGHT$(w$, 1) THEN
     IF MID$(w$, 2, 1) = MID$(w$, LEN(w$) - 1, 1) THEN
       good = 0
       FOR i = 3 TO LEN(w$) / 2
        IF MID$(w$, i, 1) <> MID$(w$, LEN(w$) + 1 - i, 1) THEN
         endlen = i - 1
         good = 1: EXIT FOR
        END IF
       NEXT
       IF good THEN
         PRINT #2, endlen; w$
         IF LEN(w$) >= max THEN max = LEN(w$): PRINT max, w$:  ELSE IF LEN(w$) > 16 THEN PRINT LEN(w$); w$
       END IF
     END IF
   END IF
 END IF
LOOP UNTIL EOF(1)
CLOSE

finds the longest word as the 19-letter deinstitutionalized, with the 19-letter semiconsciousnesses disallowed by the rule against plurals.

The longest not beginning DE or RE is the 17-letter nondiscrimination and nonfraternization as the 18-letter semipermeabilities is a plural.

Only a handful have parts 1 and 3 that are longer than 2:

The following have part 1 (and corresponding part 3) of length 3:

deerweed
denizened
despised
detected
deteriorated
detested
detonated
detoxicated
detracted
devolved
evincive
foolproof
lackadaisical
marjoram
minyanim (actually I think this is a plural, from Hebrew)
peesweep
retorter
retreater
revolver

(plurals have been removed except as noted).

Only reengineer has length 4.

 

 

 


  Posted by Charlie on 2012-01-10 21:24:12
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information