The Harshad Number Calculator is a free online tool used to check if the number is a Harshad number.
What is a Harshad number?
A Harshad number (also called Niven number) is a natural number that is divisible by the sum of its digits. Obviously, 1-digit numbers are all Harshad numbers.
For example, Is 115 a Harshad number?
First, calculate the sum of its digits.
1 + 1 + 5 = 7
Second, determine whether it is divisible.
115 ÷ 7 = 15
The answer is an integer. So, 115 is a Harshad number.
Another example, Is 2023 a Harshad number?
The sum of 2023 digits is
2 + 0 + 2 + 3 = 7
Then, 2023 divided by the sum 7
2023 ÷ 7 = 289
Divisible. So, 2023 is a Harshad number.
In addition to the decimal base, Harshad number can be defined in other bases. No matter which base is used, there are infinitely many Harshad numbers.
First 100 Harshad numbers in decimal
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
12 | 18 | 20 | 21 | 24 | 27 | 30 | 36 | 40 | 42 |
45 | 48 | 50 | 54 | 60 | 63 | 70 | 72 | 80 | 81 |
84 | 90 | 100 | 102 | 108 | 110 | 111 | 112 | 114 | 117 |
120 | 126 | 132 | 133 | 135 | 140 | 144 | 150 | 152 | 153 |
156 | 162 | 171 | 180 | 190 | 192 | 195 | 198 | 200 | 201 |
204 | 207 | 209 | 210 | 216 | 220 | 222 | 224 | 225 | 228 |
230 | 234 | 240 | 243 | 247 | 252 | 261 | 264 | 266 | 270 |
280 | 285 | 288 | 300 | 306 | 308 | 312 | 315 | 320 | 322 |
324 | 330 | 333 | 336 | 342 | 351 | 360 | 364 | 370 | 372 |
How to use the Harshad number calculator
The procedure to use the Harshad number calculator is as follows:
- Enter the positive number.
- Click Calculate button to verify whether the input number is a Harshad number.
- Click the Reset button to start a new verification.
Solved examples using the Harshad number calculator
Example 1: Is 1451 a Harshad number?
Enter 1451 into the input box and click Calculate button, as shown in the figure, 1451 is not a Harshad number.
14511 + 4 + 5 + 1 = 145111 = 131.91
The answer is not an integer. So, 1451 is not a Harshad number.
Example 2: Is 2022 a Harshad number?
Enter 2022 into the input box and click Calculate button, as shown in the figure, 2022 is a Harshad number.
20222 + 0 + 2 + 2 = 20226 = 337
The answer is an integer. So, 2022 is a Harshad number.
Latest calculators
Standard Form to Slope-Intercept Form Calculator
Slope Intercept Form Calculator
Slope Calculator: Calculate Slope, X-Intercept, Y-Intercept
Reciprocal of Complex Number Calculator
Conjugate Complex Number Calculator
Modulus of Complex Number Calculator
Profit Percentage Calculator: Calculate Your Profitability Easily
Attendance and Absence Percentage Calculator
Circular Segment Radius Calculator
Regular Polygon Side Length Calculator
Annulus Calculator for Width, Perimeter, and Area