Harshad Numbers
Divisible by the sum of their own digits.
What is it?
A Harshad number (from Sanskrit: "joy-giver") divides evenly by the sum of its digits. 18 is Harshad because 1+8=9 and 18÷9=2; 19 is not. Also called Niven numbers, they are a neat bridge between a number and its own digits.
- Exact matches95,428
- Odds1 in 10
- Out of1,000,001
How it scores
Harshads are common — exactly 95,428 of them, roughly one number in ten — so the trait earns a modest score. Think of it as a small bonus that keeps an ordinary roll from feeling empty.
The formula: -log2(count / 1,000,001) bits per trait, capped at 20, summed with 0.5 decay per additional trait.
Highest-scoring harshad numbers
Related patterns
FAQ
Is every single-digit number Harshad?
Yes — any digit divides itself — but the trait still only earns a small score because so many numbers qualify.
What is a famous Harshad number?
1729, the taxicab number, is Harshad: 1+7+2+9 = 19 and 1729 = 19 × 91.
How many Harshad numbers are in the range?
Exactly 95,428 of them — roughly one in ten numbers. Exact counts are published on the how-it-works page.