Sum of all n-digit numbers formed from n different non-zero digits, each used once = (n − 1)! × (sum of the digits) × 111…1 (n ones).
Key takeaways: with repeated letters, count each different smaller letter once and divide by the repeats that remain. For sums of numbers, every digit appears equally often in every place: (n − 1)! times for n different digits. A 0 among the digits is handled by subtracting the strings that begin with 0.