In mathematics, a number is called a Harshad number if the number base is an integer divisible by the sum of its digits when written in that base.