Last Updated on
The following program prints first 10 automorphic number. I am giving you all brief introduction about what actually automorphic numbers are, assuming that some of you might not be aware about that. In mathematics an automorphic number (sometimes referred to as a circular number) is a number whose square “ends” in the same digits as number itself. For example, 52 = 25, 62 = 36, 762 = 5776. First 10 automorphic number are : 1, 5, 6, 25, 76, 376, 625, 9376, 90625, 109376.
I think now all know about automorphic number and all are set to learn how to make the program that print first 10 automorphic number.
long int n,no=0,s,rem=0,ans=0,temp;
printf(” First 10 automorphic number are:\n”);
- MongoDB Operators Tutorial – What are Different Operators Available? - October 5, 2019
- MongoDB Projection Tutorial : Return Specific Fields From Query - March 9, 2019
- MongoDB Index Tutorial – Create Index & MongoDB Index Types - July 6, 2018