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:

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.
Forrest Gump sitting on a bench

I didn’t know people labeled Forrest Gump as a bad picture. I always loved it. For me it’s a beautiful story of a good man and I am entertained. Plus the soundtrack is one of my favorites. The main argument Forrest Gump haters make is that Forrest himself has no character arc. He is a simpleton with no depth. He doesn’t change at all throughout the movie.

He makes a fool of himself during historical events and in front of famous people, rather than trying to understand what’s going on and behaving properly. And it’s a nostalgic idolization of the boomer generation, a sort of flattery to them. Give them flashbacks of what happened in their time and they will vote for you in awards and buy tickets. It’s a conservative propaganda, you know, do what society tells you to do and you will earn medals, give interviews, and be a millionaire. Yes, Forrest Gump doesn’t change at all, but the people around him do change because of him. Primarily Lieutenant Dan and Jenny. Dan learns to appreciate life and make his peace with God, though he wanted to die in the war. ...continue reading...

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:

Instagram and TikTok users don’t wanna leave their app. They are not made for clicking, they are made for scrolling.

Date: 2025 June 11

Filed under:

By advising us this, they are actually screaming to their younger self to stop fearing and just do it.

Date: 2023 July 17

Filed under:

If someone lives in your house, in your room, and is the child of your very own parents, who do you think that will be? I don’t mean the body.

By Satyam Ghimire || Date: 2023 July 17


man looking at the sky

Two hundred million sperms raced for an egg, and somehow, it was you who came out. Just a little bit of tweaking from your parents could have changed that. Say if your parents had married a day earlier, or a day later. If your father had woken up one more morning for a walk and upon returning saw your mother shining like a goddess in the light coming through the window. Now consider the odds of the birth of the right ancestor and their whole life, odds ranging from something as miniscule as the same time of urination to something as big as marrying the right person. Something like Dr. Manhattan's quote from comics “The Watchmen” by Alan Moore. Thermodynamic miracles... events with odds against so astronomical they're effectively impossible, like oxygen spontaneously becoming gold.

I long to observe such a thing. And yet, in each human coupling, a thousand million sperm vie for a single egg. Multiply those odds by countless generations, against the odds of your ancestors being alive; meeting; siring this precise son; that exact daughter... Until your mother loves a man she has every reason to hate, and of that union, of the thousand million children competing for fertilization, it was you, only you, that emerged. To distill so specific a form from that chaos of improbability, like turning air to gold... that is the crowning unlikelihood. The thermodynamic miracle. But it's always going to be you. Only you. ...continue reading...