Talk:Anagrams/Deranged anagrams: Difference between revisions

m (Comment on AppleScript comment: no problem.)
Line 25:
 
::::No problem. I understood your comments to be simply throwing ideas around, but they clarified for me what needed to be done for my own satisfaction. I've now implemented it. :) --[[User:Nig|Nig]] ([[User talk:Nig|talk]]) 13:13, 30 October 2020 (UTC)
 
:::::Your discussion motivated me to check my AWK solution to the task. When I wrote it I decided the best way to find the maximum length derangement was to start with the longest words in the dictionary file and work down. As was noted, it happens that there was only one pair of length 10. However, working down to length 9, 8, 7, ... I found 3 pairs of length 9: englander/greenland, broadside/sideboard, ancestral/lancaster. At length 8 there are 16 pairs. At length 7 I found 26 pairs. Of these the most interesting are frantic/infarct, frantic/infract, algenib/belgian and algenib/bengali, which are examples of "three or more words share the same characters and at least one is deranged against all the others but the others aren't necessarily deranged amongst themselves." I did not deliberately design this behavior (I didn't think of it) but I did design it to find all pairs. Thank you for the motivation to check. [[User:Dmclapp|Dmclapp]] ([[User talk:Dmclapp|talk]]) 20:00, 30 October 2020 (UTC)
Anonymous user