748 By the way, to answer the question of how many palindromes there are between 1 and 5000, I wrote a small program to help determine that. The answer is 148 (small number in my opinion). You can see the full list of numbers in the spoiler. Total: 148 [1, 2, 3, 4, 5, 6, 7, 8, 9, '11', '...