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

Home > General > Word Problems
Specially Constituted Word (Posted on 2022-12-15) Difficulty: 3 of 5
Determine the longest possible word that contains exactly 4 of the vowels in alphabetical order.

*** Archaic/esoteric words are valid. However, slangs, acronyms/abbreviations, hyphenated words like X-ray, A-bomb are NOT permissible.
**** The half-vowel y is not considered as a vowel.
Note: The 4 different vowels are limited to one instance of a given vowel.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 2 of 10 |
clearvars,clc
vowels='aeiou';
fid=fopen("c:\words\words.txt","r");
mx=0;
while ~feof(fid)
  w=fgetl(fid);
  if w==lower(w)
    vset='';
    for i=1:length(w)
       f=strfind(vowels,w(i));
       if length(f)==1
         vset=[vset w(i)];
       end       
    end
    if length(vset)==4 && length(unique(vset))==4
     if vset==sort(vset)
      disp([w string(length(w))])
      if length(w)>mx
        mx=length(w);
      end
     end
    end
  end
end
fclose(fid);
mx

Finds 14 is the maximum length among:

    "abjection"    "9"
    "abjections"    "10"
    "abstention"    "10"
    "abstentions"    "11"
    "accession"    "9"
    "accessions"    "10"
    "accretion"    "9"
    "accretions"    "10"
    "acerous"    "7"
    "acetous"    "7"
    "acinous"    "7"
    "adhesion"    "8"
    "adhesions"    "9"
    "adipous"    "7"
    "advection"    "9"
    "advections"    "10"
    "aecium"    "6"
    "aeriform"    "8"
    "aeroduct"    "8"
    "aeroducts"    "9"
    "affection"    "9"
    "affections"    "10"
    "afterthought"    "12"
    "afterthoughts"    "13"
    "aggression"    "10"
    "aggressions"    "11"
    "airbound"    "8"
    "alveolus"    "8"
    "amphioxus"    "9"
    "anestrous"    "9"
    "anginous"    "8"
    "anserous"    "8"
    "anterior"    "8"
    "anteriorly"    "10"
    "anthelion"    "9"
    "anthelions"    "10"
    "anthemion"    "9"
    "anxious"    "7"
    "anxiously"    "9"
    "aphelion"    "8"
    "aphelions"    "9"
    "apterium"    "8"
    "apterous"    "8"
    "arenous"    "7"
    "arpeggio"    "8"
    "arpeggios"    "9"
    "arsenous"    "8"
    "ascension"    "9"
    "ascensions"    "10"
    "aspergillum"    "11"
    "aspergillums"    "12"
    "aspergillus"    "11"
    "aspersion"    "9"
    "aspersions"    "10"
    "assertion"    "9"
    "assertions"    "10"
    "attention"    "9"
    "attentions"    "10"
    "aversion"    "8"
    "aversions"    "9"
    "bacterium"    "9"
    "bailout"    "7"
    "bailouts"    "8"
    "battleground"    "12"
    "battlegrounds"    "13"
    "blabbermouth"    "12"
    "blabbermouths"    "13"
    "blasphemous"    "11"
    "blasphemously"    "13"
    "brachypterous"    "13"
    "caesium"    "7"
    "caesiums"    "8"
    "callipygous"    "11"
    "campesino"    "9"
    "campesinos"    "10"
    "cancellous"    "10"
    "cancerous"    "9"
    "cancerously"    "11"
    "cankerous"    "9"
    "captious"    "8"
    "captiously"    "10"
    "caribou"    "7"
    "caribous"    "8"
    "carious"    "7"
    "carrefour"    "9"
    "carrefours"    "10"
    "caseous"    "7"
    "cavernous"    "9"
    "cavernously"    "11"
    "champertous"    "11"
    "cretinous"    "9"
    "dandelion"    "9"
    "dandelions"    "10"
    "dangerous"    "9"
    "dangerously"    "11"
    "deinonychus"    "11"
    "desirous"    "8"
    "desirously"    "10"
    "devious"    "7"
    "deviously"    "9"
    "enginous"    "8"
    "envious"    "7"
    "enviously"    "9"
    "epigonus"    "8"
    "epigynous"    "9"
    "factious"    "8"
    "factiously"    "10"
    "fadeout"    "7"
    "fadeouts"    "8"
    "fairground"    "10"
    "fairgrounds"    "11"
    "faitour"    "7"
    "faitours"    "8"
    "fashious"    "8"
    "flabelliform"    "12"
    "flameout"    "8"
    "flameouts"    "9"
    "fractious"    "9"
    "fractiously"    "11"
    "gangrenous"    "10"
    "gaseous"    "7"
    "gazehound"    "9"
    "gazehounds"    "10"
    "gladiolus"    "9"
    "gracious"    "8"
    "graciously"    "10"
    "gynaecium"    "9"
    "haviour"    "7"
    "haviours"    "8"
    "heinous"    "7"
    "heinously"    "9"
    "hemizygous"    "10"
    "kabeljou"    "8"
    "kabeljous"    "9"
    "lacteous"    "8"
    "lamellicorn"    "11"
    "lamellicorns"    "12"
    "lamelliform"    "11"
    "laminous"    "8"
    "larcenous"    "9"
    "larcenously"    "11"
    "largemouth"    "10"
    "largemouths"    "11"
    "lawrencium"    "10"
    "lawrenciums"    "11"
    "magnesium"    "9"
    "magnesiums"    "10"
    "maledictory"    "11"
    "malemiut"    "8"
    "malemiuts"    "9"
    "malleolus"    "9"
    "manitou"    "7"
    "manitous"    "8"
    "marvellous"    "10"
    "marvelous"    "9"
    "marvelously"    "11"
    "mysterious"    "10"
    "mysteriously"    "12"
    "nacreous"    "8"
    "neighbour"    "9"
    "neighbours"    "10"
    "pantechnicon"    "12"
    "pantechnicons"    "13"
    "paperbound"    "10"
    "paperbounds"    "11"
    "parhelion"    "9"
    "patelliform"    "11"
    "paviour"    "7"
    "paviours"    "8"
    "perigynous"    "10"
    "perilous"    "8"
    "perilously"    "10"
    "pervious"    "8"
    "phaseout"    "8"
    "phaseouts"    "9"
    "precious"    "8"
    "preciously"    "10"
    "previous"    "8"
    "previously"    "10"
    "psalterium"    "10"
    "racemous"    "8"
    "rainout"    "7"
    "rainouts"    "8"
    "rainspout"    "9"
    "rainspouts"    "10"
    "ravenous"    "8"
    "ravenously"    "10"
    "rediscount"    "10"
    "rediscounts"    "11"
    "resinous"    "8"
    "sanbenito"    "9"
    "sanbenitos"    "10"
    "sanious"    "7"
    "saphenous"    "9"
    "saviour"    "7"
    "saviours"    "8"
    "scabious"    "8"
    "scarious"    "8"
    "semigroup"    "9"
    "semigroups"    "10"
    "serious"    "7"
    "seriously"    "9"
    "shakeout"    "8"
    "shakeouts"    "9"
    "slanderous"    "10"
    "slanderously"    "12"
    "spacious"    "8"
    "spaciously"    "10"
    "specious"    "8"
    "speciously"    "10"
    "stakeout"    "8"
    "stakeouts"    "9"
    "takeout"    "7"
    "takeouts"    "8"
    "tedious"    "7"
    "tediously"    "9"
    "tendinous"    "9"
    "tendrilous"    "10"
    "trajection"    "10"
    "trajections"    "11"
    "transection"    "11"
    "transections"    "12"
    "transfection"    "12"
    "transfections"    "13"
    "transgression"    "13"
    "transgressions"    "14"
    "trapezium"    "9"
    "trapeziums"    "10"
    "trapezius"    "9"
    "valedictory"    "11"
    "variorum"    "8"
    "variorums"    "9"
    "various"    "7"
    "variously"    "9"
    "ventriloquy"    "11"
    "verminous"    "9"
    "wamefou"    "7"
    "wamefous"    "8"
    "waterspout"    "10"
    "waterspouts"    "11"
mx =
    14


(for transgressions)

I think the minimum, 6, for aecium, is more impressive.

  Posted by Charlie on 2022-12-15 09:42:33
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 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information