PalindromesBaseN