Note: If you get many numbers that don't result in palindromes, your iteration count is probably too low. However, due to the limitations of modern browsers, there is a maximum number that the browser can calculate without resulting in
overflow, which restricts calculation of numbers that require many iterations to produce a palindrome.
The only non-palindrome I've been able to calculate with this is 196, which is the lowest non-palindrome.
Here is an accurate list of non-palindromes.