If you extend the numerical digits with letters, just like you would in hexadecimal but further up to A-Z in base 36, and you limit the ages to under 1000, and the gap to under a 100, then for bases 26 to 36 you get eleven palindrome ages with gaps of length base-1 and digit representation "POOP".

E.g. in base 26: age1 = 674 = PO(26) and age2 = 649 = OP(26), age gap = 674 - 649 = 25.

Ref. https://www.youtube.com/watch?v=fwLsCgibGw4 and https://www.youtube.com/watch?v=bIbTfdbQaSE

#numberphile #mathematics #maths #recreationalmaths

Palindrome Ages - Numberphile

YouTube
My C code to generate palindrome ages: https://github.com/ednl/c/blob/main/palindrome-ages.c
c/palindrome-ages.c at main · ednl/c

C language programs, files and projects. Contribute to ednl/c development by creating an account on GitHub.

GitHub