4 ms·
Article says it does work for all numbers except repdigits, but I think it fails for all palindromic numbers?
by clktmr 3y ago
Article says it does work for all numbers except repdigits, but I think it fails for all palindromic numbers?
- mysterydip 3y ago1221 would become 2211, which avoids the difference becoming zero.
- fekunde 3y ago2211 1122 1089; 9801 1089 8712; 8721 1278 7443; 7443 3447 3996; 9963 3699 6264; 6642 2466 4176; 7641 1467 6174
- vikingerik 3y agoThis process doesn't just reverse the digits (leaving a palindrome unchanged) - first you sort the digits (which does change a palindrome), then reverse them.