77 Palindromes

November 24th, 2009 by Charles Ma Leave a reply »

Similar to my last post, I wanted to know how  many words in the English dictionary are palindromes. There are 78 in this words list, and none of them are very long.

Ada
Ala
Ana
Anna
Ara
Ava
Bib
Bob
Eve
Gog
Hannah
Laval
MGM
Malayalam
Nan
Ono
Otto
Salas
Tet
Tevet
Tut
aha
bib
bob
boob
civic
dad
deed
deified
did
dud
eke
ere
eve
ewe
eye
gag
gig
hah
huh
kayak
kook
level
ma’am
madam
minim
mom
mum
non
noon
nun
oho
pap
peep
pep
pip
poop
pop
pup
radar
redder
refer
rotor
sagas
sees
seres
sexes
shahs
sis
solos
stats
tat
tenet
tit
toot
tot
wow

The perl script that found them

map {print; print “\n”} grep {chomp; (lc($_) eq reverse lc($_)) && /../} <>


No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Advertisement

Comments are closed.