A Nivenmorphic number or Harshadmorphic number is a positive integer whose sum of digits is the last digits of the number i.e. the sum of the digits terminates the number.
The Concept
Step 1: Take any positive integer.
Step 2: Calculate the sum of the digits of the number.
Step 3: If the sum of the digits is the last digits of the number i.e. the sum of the digits terminates the number, then the number is a Nivenmorphic number or Harshadmorphic number, else not.
For Example
Number: 16218
Sum of the digits of the number: [1 + 6 + 2 + 1 + 8] => 18
Here, the sum of the digits 18 is the last digits of the number i.e. the sum of the digits terminates the number. Hence, the number 16218 is a Nivenmorphic number or Harshadmorphic number.
Hope you have understood this amazing concept of Nivenmorphic number or Harshadmorphic number. You can try yourself using any other positive integer. In case of any issue, kindly provide your valuable comments.
Comments
Post a Comment