DEV Community

Sivakumar Mathiyalagan
Sivakumar Mathiyalagan

Posted on

Neon Number

What is Neon Number?
A Neon Number (also called an automorphic-related number) is a number where:

The sum of the digits of its square is equal to the original number.

Example:

Take the number 9

Square it:
9² = 81

Add digits of 81:
8+1=9

9 is a neon Number

Code

Top comments (0)