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:

Why do all Omelians not realize that an apple tree won't just suddenly turn sour and will grow thorns just because that child in the hole is removed? That their water won't just suddenly turn into poison just because the child is released?

By Satyam Ghimire || Date: 2026 October 14


Also available as a YouTube video.
walking away from omelas and iphone

The short story, 'The Ones Who Walk Away From Omelas' has a sequel, well not official, since it was written by another writer named Isabel J Kim in 2024 and Ursula K Le Guin died in 2018 and so she couldn't comment anything. But the sequel is not just a typical fan fiction, it has won several awards like the first one and even has its own Wikipedia page. And there are so many other work inspired by the original story. You can read more about them on Jed Hartman's website. But today I am only going to talk about these two, the original by Le Guin and the solution proposed by J Kim. If you have read the original, then I assume you too were rooting for walking away, because that's the moral thing. I assume you think you would walk away too from Omelas.

But I don't think, and I know this isn't a new interpretation of the story, that the central theme was these decisions, these questions. Questions such as, "Omelas is immoral, don't you think?" "Walking away is the right thing to do, isn't it"? But first, do you know iPhone 18 is releasing? Or some cool laptop, or a new GPU architecture now with more number of cores, or an AI model that can solve Navier Stokes level math problems, or some EV cars that's even nicer and has better speakers than what was released 2 months ago? Omelas is a fictional city, a utopia of some sense. But you have to imagine the contents of Omelas yourself, as the narrator of the story says. You can add whatever to Omelas like iPhones and lipsticks and gaming laptops and gold chain, etcetera. All the things that are signs of a happy city, filled with happy people. ...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:

Unfortunately, I tend to update CSS rather than writing anything new.

Date: 2026 April 11

Filed under:

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

Date: 2024 March 19

Filed under:

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

By Satyam Ghimire || Date: 2023 July 17


a woman writing something

Whenever this happens, I feel like an idiot. With hope I search for their advice, for the formula of their success. They also seem impatient to give it, and then I hear or read the same boring advice that I've known for ages. Just do it. Just start. Then I search for other, better and more effective, pieces of advice and find them, but nothing seems to work. All I do is keep thinking and piling thoughts inside my head. “It's okay. It's inside the brain,” I console myself, “I can always take it out any moment I want and show it to the world.” But so many moments come and go when I want to just take it out and show it to the world, but I am never able to do anything.

Masterpieces inside your head don't matter. Only what's visible does. Only now I have come to realize that I did everything but start. I am always too afraid to start. I am always sharpening the axe but never hitting any tree. Then my mind suggested from some corner the same boring advice to me. Just do it. Don't think. Just start. ...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.