Tag Archives: number-digits

Harshad Number

An integer number in base 10 which is divisible by sum of it digits is said to be a Harshad Number. An n-harshad number is an integer number divisible by sum of its digit in base n. Below are first few Harshad Numbers represented in base 10: 1, 2, 3, 4, 5, 6, 7, 8,… Read More »

Keith Number

A n digit number x is called Keith number if it appears in a special sequence (defined below) generated using its digits. The special sequence has first n terms as digits of x and other terms are recursively evaluated as sum of previous n terms. The task is to find if a given number is… Read More »