Hacker News new | ask | show | jobs
by Jabbles 5275 days ago
If the digits are unique then there are no palindromes. Therefore there are 1098*7 = 5040 combinations.
1 comments

The formatting ate your *'s but I understand. That's definitely the better way to reason the problem. In my defense it was late (after a trip to the bar) and my code is basically stream of consciousness.