Everyone of us know about niven number which is also called the Harshad Number
Harshad Number is a number which is divisible by the sum of its digits.
For example:
Input : 18
1+8 = 9
9 × 2 = 18
so 18 is a harshad number.
It would be good if we can have this in the collection of java algorithms' repository!
Wikipedia