Filed under:

Trick to Square Numbers Near the Multiples of 50

We are expanding upon the mental math trick of Hans Bethe that impressed Richard Feynman in Los Alamos.

By Satyam Ghimire | Date:

Last modified date:

Bit of a background you can skip : In his book, Surely You Are Joking Feynman, physicist Richard Feynman writes how he was impressed with Hans Bethe when he quickly calculated the square of 48 in his head, while they were heading to get a calculator. He then shares the trick.

For numbers near 50

Let's calculate the square of 47, which is 3 smaller than 50. For that, we will need four things:

  1. We first need to memorise the square of 50, which is \(2500\)
  2. Then we need to calculate the difference multiplied by 100, in our case, \(3\times100 = 300\)
  3. Then we subtract this \(300\) from 2500, which gives us \(2200\)
  4. Then we add the square of the difference \(3^2 = 9\) with this 2200, giving us our answer, i.e. \(2200+9 =2209\)

You might have noticed how this works. We are using the basic algebra formula for squaring the difference of two variables. \((x-y)^2 = x^2 - 2xy + y^2\)

In our case, \(x=50\) and \(y=3\), so this formula gives us:$$\begin{align}(50-3)^2&= 50^2 - 2\times50\times3 + 3^2 \\&= 2500 -100\times3 + 9 \\&= 2209\end{align}$$

In this way, we can just say that the square of 46 is 2116, because \(2500-4\times100 + 16 = 2116\).

For numbers slightly greater than 50, let's say 55, we just have to add everything instead of subtracting. So, the square of 55 would be \(2500+500+25 = 3025\).

For numbers near 100

Okay, let's take 106, which is 6 more than 100. For that our formula gives: $$\begin{align}(x + y)^2 &= x^2 + 2xy + y^2 \\x &= 100, \quad y=6 \\\\(100 + 6)^2 &= 100^2 + 2 \times 100 \times 6 + 6^2 \\&=10000 + 12\times100 +36 \\&= 10000 + 1200 +36 \\&= 11236\end{align}$$

Thus, we can generalize. We memorise the square of 100 which is 10000, and then we add (or subtract) the double of the difference times 100, and then at last add the square of the difference.

So, the square of 92 would be: $$\begin{align}(100-8)^2&= 100^2 -2\times8\times100 +8^2 \\&= 10000 -1600+64\\&= 8400 +64\\&=8464\end{align}$$

For numbers near 150

The square of 150 is 22500, and then multiply the difference with 300, and then add (or subtract), and then last add the square of the difference.

For 158, it would be: $$\begin{align}(150+8)^2&=150^2 + 2\times150\times8 +8^2 \\&= 22500 + 300\times8 + 64 \\&= 22500 +2400 +64 \\&= 24900 +64 \\&= 24964\end{align}$$

I know it doesn't look like a trick anymore. But let's do it one last time.

For numbers near 200

Take for example 196: $$\begin{align}(200-4)^2&=200^2 -2\times4\times200 +4^2 \\&= 40000 - 400\times4 + 16 \\&= 40000 -1600 +16 \\&= 38400 + 16 \\&=38416\end{align}$$

Yep, it has ceased being a trick. But maybe with practice, it won't be this hard.






Share on social medias:


Read also:

Filed under:

The desire to not exist increases as the time of existence increases.

By Satyam Ghimire || Date: 2024 March 19


Stańczyk, by Jan Matejko

In his book 1Q84, Haruki Murakami writes that everyone, deep in their hearts, is waiting for the end of the world to come. Well, I don't know about everyone, but I certainly am waiting for it. Desire to not exist is not the desire to kill oneself, not even some version of "I will not initiate it myself, but if something that is quick and painless is to come, then I am happy about it." But the wish of never having been born in the first place. To go to sleep and not wake up, not “not wake up” as if you died in your sleep, but wishing that there was no night in which you went to sleep in order to wake up. Desire to simply get plucked out of existence. The only realistic solution for such violent desire is the end of the world. Though the former means not existing and all other people not noticing your absence. And the latter means eliminating all observers.

But both events make the desire come true, though the cost and method is obviously different. Now this mentality, that if I hadn’t been born, then I wouldn’t have suffered, isn't new. Some say it’s a sign of a victim mindset, of cowardice, of selfishness. And so is the wait for the end of the world. When we are wishing for these events, we are not taking everyone’s lives into account. This day, no matter how bad for us, is the best day of their life for millions of people. And thousands of them are going to speak, literally in their language, these words. ...continue reading...

Forrest Gump sitting on a bench
Filed under:

I guess most people hate it because it got the best of both worlds: won several Oscars and made a lot of money. And in the same year, The Shawshank Redemption and Pulp Fiction were also released.


By Satyam Ghimire | Date: 2024 September 29

Also available as a YouTube video.
Filed under:

Companies are okay with you just importing numpy as np, but you must write the code to implement LRU cache in notepad during interviews.

Date: 2025 June 28

Filed under:

It shouldn't make a difference to the Universe in sending an asteroid, or increasing the pride of some leaders, when you are 80, instead of doing it when you were 5.

Date: 2025 July 29

Filed under:

Substack promises audience, newsletters, monetization, CMS, and comment section. What more do you need to ditch your own website?

Date: 2025 May 23

Filed under:

How can I stand with an ugly man and look in the mirror and meet my eyes and be proud?

By Satyam Ghimire || Date: 2023 July 17


painting of a beautiful girl

I am a beautiful girl. I am a smart girl. I know there's a more popular phrase for this, a phrase that, according to many, should be a compliment to girls like me. But I hate it. I think only fools say it and wearing this stupid compliment is itself a disgrace to its literal meaning (if it even has one). And no, this isn't a cheap attempt to drive sympathy towards me in any way. Give your sympathy to the real ugly. They need it more. Go and say that the inside is what matters.

That beauty is in the eyes of the beholder. There could be a grand total of zero beholder for their beauty, but beauty of course is always in the eyes of the beholder. Never anywhere else. I am confused these days. Not that this is my first time discovering beauty doesn’t always promise peace. These days I don’t care. I don’t feel my qualities. I still have this face though, a face with symmetry of the twilight, hair as soft and flowing as underwater algae, eyes of a leopard, and body as prosperous as some fluffy clouds. These perfections are just here in me, but I am not them. ...continue reading...

pom poko movie by Isao Takahata
Filed under:

The scene also reminds me of a quote by F. Scott Fitzgerald, "The loneliest moment in someone's life is when they are watching their world fall apart and all they can do is stare blankly." Tanuki are alone. And they can only stare.


By Satyam Ghimire | Date: 2024 April 30

Also available as a YouTube video.