logoalt Hacker News

tkgally01/23/20251 replyview on HN

How about representing the words as numbers in base 26? That would preserve the palidromicity for both the word and the number, and primality would not be affected by the base representation.

Might not be as much fun, though.


Replies

jodrellblank01/23/2025

Retesting the words like that does find some: REPAPER/5305958597, DUD/2551, DID/2239, LEMEL/5105267, PEEWEEP/4683479543.

With this hackish code to interpret the text as base 26, rebase that to base10, test primality, I can't test the sentences (I think it might be overflowing on the higher value words, even). I think it's not so fun if the base 10 numbers are not palindromic.

show 1 reply