See banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, banana, bees.
For any N "See [banana,]* bees." can be longer than N.
"Dammit, I'm mad..." https://quotereference.wordpress.com/2014/12/11/dammit-im-ma...
PS I converted this into three palindromic tweets https://twitter.com/sep332/status/928484353310711808
How does this count as a palindrome? It's just a bunch of nonsense words (ignoring all the acronyms, are the rest all actually even really words?) separated by commas, that doesn't even seem to pretend to take on the structure of a sentence.
Am I misunderstanding the level of coherence of the text? If the requirements are that loose, it seems it would be trivial to generate a 'palindrome' of arbitrary length.
I was recently dumbfounded by the fact that
()()
is not a palindrome, but ())(
is. It's obvious, sure, but it still doesn't look right.The longest palindrome has infinite length. Start with any palindrome, e.g. "radar". You can make a new palindrome: "radar, sides reversed, is radar". That can then be used to create the palindrome "radar, sides reversed, is radar, sides reversed, is radar, sides reversed, is radar".
You can repeat this indefinitely.
"Never odd or even" is one some here might like to see, and perhaps suggests the shorter palindrome, "NaN".
World's shortest palindrome:
There's a link which takes you to the list of palindrome dates mentioned on the website [1]. There's 38 of them, but they all take the MM/DD/YYYY format into consideration. I wonder how much of a difference it would be by taking DD/MM/YYYY instead.
[1] https://www.livescience.com/33583-palindrome-dates-21st-cent...
Different word trivia that I find fascinating that I feel HNers will also appreciate:
(twelve plus one) is an anagram of (eleven plus two)
I guess that should be called a mathagram?
I was a fan of this palindromic short story (also in honor of the year 2002): http://spinelessbooks.com/2002/palindrome/
Here's a handcrafted one in Polish, 33K+ characters: http://www.palindromy.pl/pal_naj.php
I'm also reminded of this IOCCC entry: https://www.ioccc.org/1987/westley/westley.c. Strictly speaking, it's not composed of palindromes because of the mirror-image brackets and slashes, but still, impressive.
I have to point out Weird Al's "Bob": https://www.youtube.com/watch?v=JUQDzj6R3p4
It's not a palindrome, but is a semi-sensical song masterfully composed entirely out of palindromes (which also does a great job poking fun at Bob Dylan).
This one is a valid sentence in Dutch:
"Nelli plaatst op n parterretrap n pot staalpillen."
The 'n's are a bit of an issue though, 'n in dutch means 'een', but reversed that doesn't work so the 'e's got dropped and replaced by "'" but they move from one side of the n's to the other in the reversal.
We used find the longest palindrome in a string as an interview question at Amazon back in 2004
Hug of death?
Georges Perec in 1969: http://homepage.urbanet.ch/cruci.com/lexique/palindrome.htm (1247 words)
8102018 is not a palindromic because it isn't a valid format date (it is, but is nonsense, so not valid on my standards :).
examples of valid date formats are: yyyy-mm-dd dd-mm-yyyy
engage le jeu que je le gagne
For single words, in Dutch there is:
koortsmeetsysteemstrook
Go hang a salami, I'm a lasagna hog.
I thought the point of palindromes were that they
1: Are the same forwards and backwards
2: Make coherent sense
Still pretty cool nonetheless, I suppose
This palindrome is surprisingly disappointing. Almost every word appears 100s of times...
My 2 "go to" palindromes...
I know a fat man called Ella C Namtafawnoki.
I got hang of fog nah togi.
Whats with Sadick? (15 times!). Also the F*, C and S words!
For a line level palindrome homage to Douglas Hofstadter's Crab Canon see
https://juliagalef.com/2017/02/21/a-poem-for-douglas-hofstad...
wo nemo toss a lasso to me now!
Rotavator
"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!" - Guy Steele, CLTL2