Patterns /Digit Arithmetic
Harshad Numbers
A Harshad — or Niven — number is divisible by the sum of its own digits. 18 works because 1 + 8 = 9 and 18 ÷ 9 = 2.
Harshad numbers link a number's written form to its arithmetic, which is unusual: most divisibility properties ignore notation entirely. This one only makes sense in base ten.
They thin out as numbers grow, because digit sums rise roughly logarithmically while the numbers themselves rise linearly — so the chance of an exact division steadily falls. The count above is the exact answer across the range.
Every repdigit is automatically a Harshad number, which is one reason the strongest numbers on the leaderboard tend to collect traits from several groups at once.
Highest-scoring examples
The best-scoring numbers of four digits or more that carry this pattern. Shorter numbers are excluded here because their length alone dominates any score ranking.
Smallest examples
The first numbers in the range that match this pattern.