Alibris Secondhand Books Standard

Thursday, January 21, 2010

panama palindromes

A palindrome is a word, phrase, or sentence in which the letters are identical whether read forward or backward.

For example:


  • kayak

  • rotator

  • Mr. Owl ate my metal worm.

  • A man, a plan, a canal: Panama!




In 1983, Jim Saxe realized that he could add a cat to that last one:

A man, a plan, a cat, a canal; Panama?


Two Guys soon extended the list even further. Guy Jacobson produced:

A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal--Panama!


and Guy Steele offered:

A man, a plan, a canoe, pasta, heros, rajahs, a coloratura, maps, snipe, percale, macaroni, a gag, a banana bag, a tan, a tag, a banana bag again (or a camel), a crepe, pins, Spam, a rut, a Rolo, cash, a jar, sore hats, a peon, a canal--Panama!


By the following year, Dan Hoey had extended the palindrome to 540 words, using what he termed "a fairly simple-minded program" and the Unix spelling dictionary:

A man, a plan, a caret, a ban, a myriad, a sum, a lac, a liar, a hoop, a pint, a catalpa, a gas, an oil, a bird, a yell, a vat, a caw, a pax, a wag, a tax, a nay, a ram, a cap, a yam, a gay, a tsar, a wall, a car, a luger, a ward, a bin, a woman, a vassal, a wolf, a tuna, a nit, a pall, a fret, a watt, a bay, a daub, a tan, a cab, a datum, a gall, a hat, a fag, a zap, a say, a jaw, a lay, a wet, a gallop, a tug, a trot, a trap, a tram, a torr, a caper, a top, a tonk, a toll, a ball, a fair, a sax, a minim, a tenor, a bass, a passer, a capital, a rut, an amen, a ted, a cabal, a tang, a sun, an ass, a maw, a sag, a jam, a dam, a sub, a salt, an axon, a sail, an ad, a wadi, a radian, a room, a rood, a rip, a tad, a pariah, a revel, a reel, a reed, a pool, a plug, a pin, a peek, a parabola, a dog, a pat, a cud, a nu, a fan, a pal, a rum, a nod, an eta, a lag, an eel, a batik, a mug, a mot, a nap, a maxim, a mood, a leek, a grub, a gob, a gel, a drab, a citadel, a total, a cedar, a tap, a gag, a rat, a manor, a bar, a gal, a cola, a pap, a yaw, a tab, a raj, a gab, a nag, a pagan, a bag, a jar, a bat, a way, a papa, a local, a gar, a baron, a mat, a rag, a gap, a tar, a decal, a tot, a led, a tic, a bard, a leg, a bog, a burg, a keel, a doom, a mix, a map, an atom, a gum, a kit, a baleen, a gala, a ten, a don, a mural, a pan, a faun, a ducat, a pagoda, a lob, a rap, a keep, a nip, a gulp, a loop, a deer, a leer, a lever, a hair, a pad, a tapir, a door, a moor, an aid, a raid, a wad, an alias, an ox, an atlas, a bus, a madam, a jag, a saw, a mass, an anus, a gnat, a lab, a cadet, an em, a natural, a tip, a caress, a pass, a baronet, a minimax, a sari, a fall, a ballot, a knot, a pot, a rep, a carrot, a mart, a part, a tort, a gut, a poll, a gateway, a law, a jay, a sap, a zag, a fat, a hall, a gamut, a dab, a can, a tabu, a day, a batt, a waterfall, a patina, a nut, a flow, a lass, a van, a mow, a nib, a draw, a regular, a call, a war, a stay, a gam, a yap, a cam, a ray, an ax, a tag, a wax, a paw, a cat, a valley, a drib, a lion, a saga, a plat, a catnip, a pooh, a rail, a calamus, a dairyman, a bater, a canal--Panama.


Hoey opined, "With a better word list and a smarter program I'm sure the palindrome could be ten times as long."

Years later, in honor of the palindromic date/time of two minutes after 8 PM on the 20th of February, 2002, at (i.e. 20:02 20/02 2002, or in the U.S., 20:02 02/20 2002) Peter Norvig decided to try to create the world's longest palindrome. On finding Hoey's website, he took up the challenge to find a palindromic sentence ten times as long as Hoey's. Using this program, Norvig created a palindrome beginning with:

A man, a plan, a caddy, Ore, Lee, tsuba, Thaine, a lair,


ending with:

Hell, a burial, Aeniah, Tabu, Steele, Roydd, a canal, Panama.


and containing 15,139 words in all.

Norvig offered this commentary:

Maybe I'm biased, but I think the palindrome starts out quite strong. "A man, a plan, a caddy" is the basic premise of another fine piece of storytelling. Unfortunately, things go downhill from there rather quickly. It contains truths, but it does not have a plot. It has Putnam, but no logic; Tesla, but no electricity; Pareto, but no optimality; Ebert, but no thumbs up. It has an ensemble cast including Tim Allen, Ed Harris and Al Pacino, but they lack character development. It has Sinatra and Pink, but it doesn't sing. It has Monet and Goya, but no artistry. It has Slovak, Inuit, Creek, and Italian, but it's all Greek to me. It has exotic locations like Bali, Maui, Uranus, and Canada, but it jumps around needlessly. It has Occam, but it is the antithesis of his maxim "Entia non sunt multiplicanda praeter necessitatem." If you tried to read the whole thing, you'd get to "a yawn" and stop. Or you might be overcome by the jargon, such as PETN, ILGWU, PROM, UNESCO, and MYOB. Most serendipitous of all is that Steele, who collected several shorter versions of the Panama oeuvre in a book about a Lisp, shows up in the very last line. Steele and some others have some comments. You can read the results from top to bottom (if you don't get bored) or you can start in the middle; the letter "y" in "Moray".



I don't know. While I find this interesting on an academic level, I think the palindrome loses something when it becomes too long. Though these lengthy palindromes are grammatically correct, they don't convey any real meaning. What makes "A man, a plan, a canal: Panama!" interesting is not just that the letters are reversible, but that it offers commentary on a historical event. What do you think?

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home