The eminent British mathematician had once remarked: Every integer was a friend to Srinivasa Ramanujan.

Well, we are mere mortals, yet we can cultivate some “friendships with some numbers”. Let’s try:

**Question:**

Squaring 12 gives 144. By reversing the digits of 144, we notice that 441 is also a perfect square. Using C, C++, or python, write a program to find all those integers m, such that , verifying this property.

PS: in order to write some simpler version of the algorithm, start playing with small, particular values of N.

**Reference: 1001 Problems in Classical Number Theory, Indian Edition, AMS (American Mathematical Society), Jean-Marie De Konick and Armel Mercier.**

Amazon India link:

https://www.amazon.in/1001-Problems-Classical-Number-Theory/dp/0821868888/ref=sr_1_1?s=books&ie=UTF8&qid=1509189427&sr=1-1&keywords=1001+problems+in+classical+number+theory

*Cheers,*

Nalin Pithwa.

### Like this:

Like Loading...

*Related*