``` This was the NPR Sunday puzzle for January 10th, 2010. Think of a familiar 10-letter hyphenated word that uses all seven letters of the alphabet from "F" to "L" plus three other letters of your choosing. What word is it? It's a word everyone knows, and it's in some dictionaries. The discussion below shows that there are 5,443,200 different ways to combine 7 letters, 3 spaces and 1 hyphen. A computer program written in tiny-c follows. It generates 1000 "words" by randomizing the characters F thru L, 3 spaces and a hyphen. /* bananag.tc - tct - 1/10-12/2010 /* Ref: http://www.npr.org/templates/story/story.php?storyId=122396987 /* Variable names were inspired by Bananagram game and copa cabana. /* The idea here is we generate a file of scrambled 10 letter words and then /* look at it in hopes we'll see something that will lead us in the right /* direction. /* Looking at MFILE.TXT and a tiny hint at /* http://www.crosswordmanblog.com/2010/01/npr-puzzle-11010-string-of-alphabet.html /* finally allowed me to solve it. char banana(10),copa(10),mfile(14000) int l,m peel [ /* scrambles banana int i,j,k,used(10) used(0)=j=random(0,10) copa(0)=banana(j) for (i=1;i<=10;++i) [ while (1) [ j=random(0,10) for (k=0;k0) [ pl "";ps "see MFILE.TXT";pl "" ]] Here is the output from a particular run of this program. It was hoped looking at this output would help determine the answer to the NPR puzzle. It didn't help much but was an interesting programming exercise! J LFKH GI-| JFIKLHG - |J L- FKIG H| FJKIL G -H|IHGLFK - J |J IH-LGF K|- IKGJ LHF|FJLIGH -K | JLH FKG -I|GLH - FJI K|-FHGK J L I|F GL HJ-IK|F LJIH-K G|- H LJFGIK| JLKFIGH- |JLK - GFIH| JKI F-LGH|J -L HKGFI| FHIGKJ- L |K-LF HJG I | I K-LJFHG|J IG- HFL K| -JFIK LH G|K- FGLHIJ| IJHF L KG -|I FH-J GLK| J- F KLIGH|I JHF-GKL |I-HKJ FGL |GHK F-L JI|HJK-LF GI | KGFJI- HL| - L KHFGIJ|I-KHL GF J |L K FJ-G HI| IHLG-KF J| FK -LGHJ I|GKFH LJ- I| GJKF -IHL |LIF KH G-J| -IG FL KJH |F -IJKG HL|GJ I-H F KL|G FKJHL I- |HL JKFGI - |FJ-L GIKH|G JL KFIH-| LHF- KJ GI| IGFL K - JH|IJ F LK- HG|GIF- JKL H |HF -JIL K G|GL FJ KI -H|-HKI F LGJ | HF JK-GIL|J- K HFLGI | HLG -KI J F|FJ KH-LIG | L-IKHG JF| K HF JLI-G| F -GLHJIK|K LJ HGF-I | GF -J LHIK|-JKHI LFG | FI-HK JGL|ILHG -KJ F| HLIG -KFJ |IK- FGJH L | - KFI HLJG|JKG-I HFL|I FHG -LJK|HK IJG-FL| LKJI F-G H |F -LIJGH K|KH G- JLFI| I-KG LJFH|L G -JH IKF| JFKI H-LG|G H-KJFI L|K H IFG-LJ | IH- F KL GJ|KI JG- F HL|L- FI KHGJ | K FG IJ-LH| J-HFL G IK|KIF J GH-L|LG-K JIH F|IG JF K- HL| IL GJF -HK|H FJ- GIKL|F -HG LIKJ |JKF IL- G H|JK -I GFH L|FH LKJI G -| IK-JHG LF| GH-KILFJ | -LI HK F GJ| KFHG ILJ -|LK GFIH -J|KLJ I GH F-| IH-KG JFL|LHIKFJG - |- LHFKIGJ |KLGJH- I F| G JKLIH -F|JKIH -LFG | JIHG LF- K|G KIJ H-LF|LJKH I GF- |KI JF -LGH|I-FL J G HK|LJKFHI - G| -I JKFG HL|KGJ-IHF L |JGI -FK HL|J FGIL-H K |F - KHGILJ| JG-KI HLF| I-HLGJKF |IF J G-KL H| KFIGJ L H- |I KF G HJL-|GJ KF H-IL |LIJ- G HFK |F IG H-LKJ| IGF-L H JK| -LIJKGHF |LHJ K -GF I| JL I GKH -F|- G KIFL JH|LIK FJ GH-|HG JI LKF -| J-L HFKIG |IG-JH K FL |GHK ILF J-| F -JLIKHG| HG LF KJ I-|I -FL GKHJ|HLK JI-F G|KGJ LH- F I|GJ KIF -L H|HFIKJ L- G|G - JH KFIL|GK F -IHLJ | KGL FJ-HI|G- KLIHJ F| J IFHG -KL|FLK- JH IG|LHKGJ F-I|- FHLJGKI| JHGLK-IF|K IL FJG-H | ILGJK FH -|LFJG K -HI|-KFG LIJ H |-HGFJ IL K|HG-ILK J F| -JFGLIHK |FL IJ KG-H|GHI JF- L K| GFI- HKJL|I-J HGF KL|KHFG JIL - |GI-KH LF J |ILJ G -FKH | J- IGHKLF|FJI HLK -G | FGHI-J L K| L JI FGHK-|G J-KLF H I| J -IKFLHG| -K ILFGJH|IJGK HLF-|FL- GH KIJ| KGIL- HFJ|-GJIKHL F | -JHI KL FG|L-J IFHG K |G KILF J- H|HGFK - IL J| -HLJKGF I|- KFIGLHJ |JH KF LG- I| G LH IJK-F| J- FKH IGL|H- JIKL GF| - FHLGK IJ|KFL JG- IH | F K-IHJLG|H -LFGKI J|FHIJ - GK L|J H-KLIGF | L -GH FKJI|GKF - HJIL|I GKFLJ -H| F- GIHKL J|JLI- G H FK|KLHF-J G I | -K JF LHGI|KF JIHG-L| LJ-FGIH K |IH-FG LK J|H J-LFKG I|-G HLJK I F| KL FJ-IGH|FLG H-KIJ |GIFK JH -L | JF HIL-GK| -LKFGIJH |L IF -HKGJ | GH- JKFLI|JF GI-L HK |IJ KFHG -L|LJ KFIGH-|LHKG- FJ I |I H JLK G-F| IJFLHK - G|G ILF-JH K|K-L FIGHJ|FKILJ- HG| LIK -HJGF |JIFHK G-L | LFIJG HK-|H-G I KJL F| - HJFLGKI|HIL KJ-GF |JHK G I-FL |-LHG F KI J|KI JL HFG-|I G-JFH LK |I H FGKLJ- | JH IFG- LK| J LF K -HIG|J LFK-GHI | -LG FHK IJ|J -IKGHL F|JIL - HK GF| -GI HJLKF|J- KLFG IH|HJF-KI G L| LIH J GKF-|H GIF K-J L|- KI LFJ GH|JIG F H LK-|LKJH F IG-|G - H JLIKF|L I HJ-FGK|-L J I FHKG| I- F LHKJG|FGH I JL-K|-KFGJ HIL |JL F H-K GI|I- FHG LJ K|- G KI HLJF|H G JLI-FK |JIGH K- LF| ILH KG-JF |ILK -FGJ H|JKG L -IHF |L - IFHGJK|- L JKHIFG|K- FL IJ HG|- J LKG HIF|LIGFH -J K| J ILG-H FK| FKL J -IGH|- FHJKGI L |KJ-IF GLH| JL KIH GF-|F-GI K HLJ|FLIGJ- KH |L-J IK FHG| F L-GIJH K|FJG - IH LK|HG KIJ L-F|G- J IL HFK| HI-FJLKG |JKL GIHF-|FJ G KHIL- | L I-JHKGF| KFG HJ IL -|KI LJ HG- F|H IGK -JL F|KH- ILJFG | FIK GL HJ-|JFHKI -GL|IKLJF- H G |H-KFJGLI | H I -G KFJL|G - IHFKJL|I-J L KHF G|H - KL IFGJ|L GIJ -KHF|FHI L KJ -G|F- IL JKGH|HFIJ - LGK| GIKJ-F LH|H KI-L F JG|JG FLI H-K| GILK- JHF |-JL KGI HF |G HLJ F -KI|I-L GJ FH K|L JF GH K-I| K GIL- FJH|LI KJH G-F | -LGHIJFK|LHIKJ- GF |J- GFK IHL|KLIFJG -H |F GHL J -KI|KG FH J I-L| F J IH-GK L|LJ IFKG -H|- HJFKL GI |FKLIGH J - |G L KF-HJI | -F IJHLGK|IK J F-HGL | GL HJK- IF| KFJ HL -IG| KH J-GLF I|L-I F KGJ H|H LGJ -IFK | KG FIHJ -L|FGJLI KH-| F -HJLIKG | JLIF GH-K| K LIH F-J G|K-JGI LH F | FIL-K HGJ | HJ K -FGLI|FHL-IK J G |F LKH-I JG |GLI-JK HF |IKJGH F -L| - ILF J HKG|- KJF HIGL |IG -FKHLJ| LF J-GHK I| HGJ F I-LK|J FLG IKH-|L IGH F -KJ| HIFGLKJ-| -LF HGKIJ|K FGJ HL-I | GF I-HKLJ |J L GI FH-K| H-GJ FKLI| HL- FGKJI|- FGLJ IH K|K-FGHL IJ | HL F- KGJ I| - G FLHIJK| FKL-I J HG|FJI -KHLG | - IGF LJKH|JFK - IHLG | H-JFGI K L|-HFLJI K G | -KIHF JGL |I KJL GHF -|KL-HJ F G I|KFJG H- IL |FI -LHJ KG| IFH- LGJK|FL IKH G- J|H-K ILGJF | F-JLH GI K|I LFHKGJ -|LFHIJ KG - | J F- HGIKL| G-K LJHI F|- LF H GKJI|J HL FI K-G| F I-LKHGJ| GHL-F IKJ|L-J KGI FH |FHJ-GK LI |HG LF IK -J|LIK J- F GH|GH IK -LFJ|F KJI LH G-|G L-FJI KH| H-L GJ IKF|H- FIKJ LG|GIF - L JKH|HLJK-G IF |H KILJFG - | H KLI-JGF|HJ L FG-KI| -KFIGHLJ | I JK -GLFH| G H- KLIJF|J LKIG -H F|KL -GH JFI| KF I-HJGL|F H- IGLKJ| I-HK LJGF|J IH F-LGK| JGHI-LF K |GHJF L-K I|L J-IH FG K|I KF- L HJG|HGFL-IJK |LHIFJ KG - |FJ-KLGHI | GIH -F LJK| HFJ G IL-K|F -KH JI GL| K-JLFHG I|I-FKG LJH |KIHGFJ-L | K-F LIHG J|H -J ILGKF|K-L JF I GH| KLJ F IH-G|F-H LKG IJ|I JKLHG F-| K HF JLGI-|JH-F G IKL|J-GFK L IH| J-LFIGH K|HL F IK-J G| GHI KJLF -|KJG - HI LF|JLK IFH G- |-G IK HJLF|LHK G F- JI|-JKI G LFH |GJLK-F HI|KJ IG H LF-| I K-HJ FGL| IKL JFG- H|G KJ IH FL-|IGF- JKH L |- GJ FHILK|L KJHG I -F|H I JLKG-F |FLKH I - JG| IJKHFG L-|- FJKHLG I | GIJ-KH FL|KJ L-I GHF| ILK -FGHJ | -JIHFG L K|FGJIHK L-|GL-J I HK F| JHKG - LF I|K LI-JFHG|I HLGJ F-K |HFI K-G J L|L-I KGF JH |LKJ IHF-G | KFI JG H-L|L HGJK- I F| -ILHFJ G K|F-K IGHL J | - KL IFHGJ| G HJKI-LF |F GL- KHJI|F-I G KJLH|H F IJ-GLK | J KL IFHG-| I F -JLK GH|K F JG-HIL|-FIG KHJ L| IF-HLKG J|GJHLF - KI|LJK G-I H F|GF KL -JHI |-G KH FJI L| J GHKIL F -| FL- KGIHJ|FLHJ-IGK |F GLIH -JK|L-GKFIHJ |-K IL JGFH|-L I JHGFK | J HLIG KF-| -KLJF HG I|-F LJ G KHI|KJHFL G- I|-JK IHL FG|G-IJ F LHK | FGK-L H IJ|G HFIK J-L |JL FK I- HG| -FHKI GL J| -GLI KFHJ|H JLGK- F I| KLF G-JIH |J L- FKIG H| FJKIL G -H|IHGLFK - J |J IH-LGF K| - IKGJ LHF|FJLIGH -K |JLH FKG -I|GLH - FJI K|-FHGK J L I|F GL HJ-IK|F LJIH-K G|- H LJFGIK| JLKFIGH- |JLK - GFIH| JKI F-LGH|J -L HKGFI| FHIGKJ- L |K-LF HJG I | I K-LJFHG|J IG- HFL K| -JFIK LH G|K- FGLHIJ|IJHF L KG -|I FH-J GLK| J- F KLIGH|I JHF-GKL |I-HKJ FGL |GHK F-L JI| HJK-LF GI | KGFJI- HL|- L KHFGIJ|I-KHL GF J |L K FJ-G HI| IHLG-KF J| FK -LGHJ I|GKFH LJ- I| GJKF -IHL |LIF KH G-J|-IG FL KJH |F -IJKG HL|GJ I-H F KL|G FKJHL I- |HL JKFGI - |FJ-L GIKH| G JL KFIH-| LHF- KJ GI|IGFL K - JH|IJ F LK- HG|GIF- JKL H |HF -JIL K G|GL FJ KI -H|-HKI F LGJ | HF JK-GIL|J- K HFLGI |HLG -KI J F|FJ KH-LIG | L-IKHG JF| K HF JLI-G| F -GLHJIK|K LJ HGF-I | GF -J LHIK|-JKHI LFG | FI-HK JGL|ILHG -KJ F| HLIG -KFJ |IK- FGJH L | - KFI HLJG|JKG-I HFL| I FHG -LJK|HK IJG-FL|LKJI F-G H |F -LIJGH K|KH G- JLFI| I-KG LJFH|L G -JH IKF| JFKI H-LG| G H-KJFI L|K H IFG-LJ |IH- F KL GJ|KI JG- F HL|L- FI KHGJ | K FG IJ-LH| J-HFL G IK|KIF J GH-L| LG-K JIH F|IG JF K- HL|IL GJF -HK|H FJ- GIKL|F -HG LIKJ |JKF IL- G H|JK -I GFH L|FH LKJI G -| IK-JHG LF| GH-KILFJ |-LI HK F GJ| KFHG ILJ -|LK GFIH -J|KLJ I GH F-| IH-KG JFL|LHIKFJG - | - LHFKIGJ |KLGJH- I F| G JKLIH -F|JKIH -LFG | JIHG LF- K|G KIJ H-LF|LJKH I GF- |KI JF -LGH| I-FL J G HK|LJKFHI - G|-I JKFG HL|KGJ-IHF L |JGI -FK HL|J FGIL-H K |F - KHGILJ| JG-KI HLF| I-HLGJKF |IF J G-KL H|KFIGJ L H- |I KF G HJL-|GJ KF H-IL |LIJ- G HFK |F IG H-LKJ| IGF-L H JK| -LIJKGHF |LHJ K -GF I|JL I GKH -F|- G KIFL JH|LIK FJ GH-|HG JI LKF -| J-L HFKIG |IG-JH K FL | GHK ILF J-| F -JLIKHG|HG LF KJ I-|I -FL GKHJ|HLK JI-F G|KGJ LH- F I|GJ KIF -L H|HFIKJ L- G| G - JH KFIL|GK F -IHLJ |KGL FJ-HI|G- KLIHJ F| J IFHG -KL|FLK- JH IG|LHKGJ F-I|- FHLJGKI| JHGLK-IF|K IL FJG-H |ILGJK FH -|LFJG K -HI|-KFG LIJ H |-HGFJ IL K|HG-ILK J F| -JFGLIHK | FL IJ KG-H|GHI JF- L K| GFI- HKJL|I-J HGF KL|KHFG JIL - |GI-KH LF J |ILJ G -FKH | J- IGHKLF| FJI HLK -G | FGHI-J L K|L JI FGHK-|G J-KLF H I| J -IKFLHG| -K ILFGJH|IJGK HLF-|FL- GH KIJ| KGIL- HFJ|-GJIKHL F |-JHI KL FG|L-J IFHG K |G KILF J- H|HGFK - IL J| -HLJKGF I|- KFIGLHJ | JH KF LG- I| G LH IJK-F|J- FKH IGL|H- JIKL GF| - FHLGK IJ|KFL JG- IH | F K-IHJLG|H -LFGKI J| FHIJ - GK L|J H-KLIGF | L -GH FKJI|GKF - HJIL|I GKFLJ -H| F- GIHKL J|JLI- G H FK|KLHF-J G I | -K JF LHGI|KF JIHG-L|LJ-FGIH K |IH-FG LK J|H J-LFKG I|-G HLJK I F| KL FJ-IGH|FLG H-KIJ | GIFK JH -L | JF HIL-GK| -LKFGIJH |L IF -HKGJ | GH- JKFLI|JF GI-L HK |IJ KFHG -L|LJ KFIGH-| LHKG- FJ I |I H JLK G-F|IJFLHK - G|G ILF-JH K|K-L FIGHJ|FKILJ- HG| LIK -HJGF |JIFHK G-L | LFIJG HK-|H-G I KJL F| - HJFLGKI|HIL KJ-GF |JHK G I-FL |-LHG F KI J|KI JL HFG-|I G-JFH LK | I H FGKLJ- | JH IFG- LK|J LF K -HIG|J LFK-GHI | -LG FHK IJ|J -IKGHL F|JIL - HK GF| -GI HJLKF| J- KLFG IH|HJF-KI G L|LIH J GKF-|H GIF K-J L|- KI LFJ GH|JIG F H LK-|LKJH F IG-|G - H JLIKF| L I HJ-FGK|-L J I FHKG| I- F LHKJG|FGH I JL-K|-KFGJ HIL |JL F H-K GI|I- FHG LJ K|- G KI HLJF| H G JLI-FK |JIGH K- LF|ILH KG-JF |ILK -FGJ H|JKG L -IHF |L - IFHGJK|- L JKHIFG|K- FL IJ HG| - J LKG HIF|LIGFH -J K| J ILG-H FK| FKL J -IGH|- FHJKGI L |KJ-IF GLH| JL KIH GF-|F-GI K HLJ| FLIGJ- KH |L-J IK FHG|F L-GIJH K|FJG - IH LK|HG KIJ L-F|G- J IL HFK| HI-FJLKG |JKL GIHF-| FJ G KHIL- | L I-JHKGF|KFG HJ IL -|KI LJ HG- F|H IGK -JL F|KH- ILJFG | FIK GL HJ-|JFHKI -GL| IKLJF- H G |H-KFJGLI |H I -G KFJL|G - IHFKJL|I-J L KHF G|H - KL IFGJ|L GIJ -KHF|FHI L KJ -G| F- IL JKGH|HFIJ - LGK|GIKJ-F LH|H KI-L F JG|JG FLI H-K| GILK- JHF |-JL KGI HF |G HLJ F -KI| I-L GJ FH K|L JF GH K-I|K GIL- FJH|LI KJH G-F | -LGHIJFK|LHIKJ- GF |J- GFK IHL|KLIFJG -H | F GHL J -KI|KG FH J I-L|F J IH-GK L|LJ IFKG -H|- HJFKL GI |FKLIGH J - |G L KF-HJI | -F IJHLGK| IK J F-HGL | GL HJK- IF| KFJ HL -IG| KH J-GLF I|L-I F KGJ H|H LGJ -IFK | KG FIHJ -L|FGJLI KH-| F -HJLIKG | JLIF GH-K|K LIH F-J G|K-JGI LH F | FIL-K HGJ | HJ K -FGLI|FHL-IK J G |F LKH-I JG | GLI-JK HF |IKJGH F -L|- ILF J HKG|- KJF HIGL |IG -FKHLJ| LF J-GHK I| HGJ F I-LK|J FLG IKH-| L IGH F -KJ| HIFGLKJ-| -LF HGKIJ|K FGJ HL-I | GF I-HKLJ |J L GI FH-K| H-GJ FKLI| HL- FGKJI| - FGLJ IH K|K-FGHL IJ |HL F- KGJ I| - G FLHIJK| FKL-I J HG|FJI -KHLG | - IGF LJKH|JFK - IHLG | H-JFGI K L|-HFLJI K G |-KIHF JGL |I KJL GHF -|KL-HJ F G I|KFJG H- IL |FI -LHJ KG| IFH- LGJK| FL IKH G- J|H-K ILGJF | F-JLH GI K|I LFHKGJ -|LFHIJ KG - | J F- HGIKL| G-K LJHI F|- LF H GKJI| J HL FI K-G| F I-LKHGJ|GHL-F IKJ|L-J KGI FH |FHJ-GK LI |HG LF IK -J|LIK J- F GH|GH IK -LFJ| F KJI LH G-|G L-FJI KH| H-L GJ IKF|H- FIKJ LG|GIF - L JKH|HLJK-G IF |H KILJFG - | H KLI-JGF| HJ L FG-KI| -KFIGHLJ |I JK -GLFH| G H- KLIJF|J LKIG -H F|KL -GH JFI| KF I-HJGL|F H- IGLKJ| I-HK LJGF|J IH F-LGK|JGHI-LF K |GHJF L-K I|L J-IH FG K|I KF- L HJG|HGFL-IJK |LHIFJ KG - | FJ-KLGHI | GIH -F LJK|HFJ G IL-K|F -KH JI GL| K-JLFHG I|I-FKG LJH |KIHGFJ-L | K-F LIHG J| H -J ILGKF|K-L JF I GH|KLJ F IH-G|F-H LKG IJ|I JKLHG F-| K HF JLGI-|JH-F G IKL|J-GFK L IH| J-LFIGH K|HL F IK-J G|GHI KJLF -|KJG - HI LF|JLK IFH G- |-G IK HJLF|LHK G F- JI|-JKI G LFH | GJLK-F HI|KJ IG H LF-| I K-HJ FGL| IKL JFG- H|G KJ IH FL-|IGF- JKH L |- GJ FHILK|L KJHG I -F| H I JLKG-F |FLKH I - JG| IJKHFG L-|- FJKHLG I | GIJ-KH FL|KJ L-I GHF| ILK -FGHJ | -JIHFG L K| FGJIHK L-|GL-J I HK F|JHKG - LF I|K LI-JFHG|I HLGJ F-K |HFI K-G J L|L-I KGF JH |LKJ IHF-G | KFI JG H-L|L HGJK- I F|-ILHFJ G K|F-K IGHL J | - KL IFHGJ| G HJKI-LF |F GL- KHJI|F-I G KJLH| H F IJ-GLK | J KL IFHG-|I F -JLK GH|K F JG-HIL|-FIG KHJ L| IF-HLKG J|GJHLF - KI|LJK G-I H F| GF KL -JHI |-G KH FJI L|J GHKIL F -| FL- KGIHJ|FLHJ-IGK |F GLIH -JK|L-GKFIHJ |-K IL JGFH| -L I JHGFK | J HLIG KF-|-KLJF HG I|-F LJ G KHI|KJHFL G- I|-JK IHL FG|G-IJ F LHK | FGK-L H IJ| G HFIK J-L |JL FK I- HG|-FHKI GL J| -GLI KFHJ|H JLGK- F I| KLF G-JIH |J L- FKIG H| FJKIL G -H| IHGLFK - J |J IH-LGF K|- IKGJ LHF|FJLIGH -K |JLH FKG -I|GLH - FJI K|-FHGK J L I|F GL HJ-IK| F LJIH-K G|- H LJFGIK| JLKFIGH- |JLK - GFIH| JKI F-LGH|J -L HKGFI| FHIGKJ- L |K-LF HJG I | ```