Professional Documents
Culture Documents
Java Number Program
Java Number Program
3. A neon number is a number where the sum of digits of square of the number
is equal to the number. For example if the input number is 9, its square is 9*9
= 81 and sum of the digits is 9. i.e. 9 is a neon number.In mathematics, a
Niven number (or harshad number) in a given number base is an integer that
is divisible by the sum of its digits when written in that base.