TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Dying Art of Mental Math Tricks

198 pointsby jimsojimover 9 years ago

26 comments

askafriendover 9 years ago
Is this still a relevant skill-set to be good at these days? I feel like it&#x27;s a bit like writing cursive or being able to have good handwriting in general. It&#x27;s just not that useful anymore unless you&#x27;re in very specialized fields that require you to be good at mental math and even then how many situations are you in where you&#x27;re put on the spot that you have to mentally solve something? There&#x27;s probably more useful things to keep in your brain than these types of tricks.<p>I don&#x27;t mean to be so negative though. I certainly think it&#x27;s very fascinating and interesting just from a pure mathematical perspective. However we also have to consider the utilitarian perspective when asking &quot;why&quot; many people aren&#x27;t good at something like this anymore.
评论 #10893470 未加载
评论 #10893346 未加载
评论 #10893403 未加载
评论 #10894071 未加载
评论 #10893681 未加载
评论 #10893604 未加载
评论 #10893929 未加载
评论 #10893375 未加载
评论 #10893952 未加载
评论 #10893687 未加载
评论 #10893492 未加载
评论 #10895349 未加载
评论 #10895032 未加载
评论 #10893533 未加载
评论 #10893981 未加载
评论 #10893686 未加载
评论 #10896082 未加载
评论 #10893891 未加载
评论 #10893539 未加载
评论 #10893743 未加载
评论 #10896397 未加载
wjncover 9 years ago
If you want to practice skills like these, try:<p>Street-Fighting Mathematics [1] and The Art of Insight in Science and Engineering by Sanjoy Mahajan (MIT) [2].<p>Free downloads via: [1] <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;street-fighting-mathematics" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;street-fighting-mathematics</a> [2] <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;art-insight-science-and-engineering" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;art-insight-science-and-engin...</a>
评论 #10893343 未加载
nefittyover 9 years ago
This Android alarm clock has dramatically increased my speed and ability to do simple arithmetic: <a href="https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=com.alarmclock.xtreme.free" rel="nofollow">https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=com.alarmclock...</a><p>It allows the user to set an alarm that can only be turned off by solving math problems. You can imagine how quickly one&#x27;s brain improves at this task when the reward is a snooze or a removal of a blaring alarm at 5 in the morning.
评论 #10893456 未加载
kriroover 9 years ago
Cool article and I love the writing style with subtle historic comments like the last sentence here:<p>&quot;&quot;&quot;I was good at mental arithmetic and saved myself a lot of money back in the Soviet Union. Every time I shopped I calculated all the charges as I stood at the cash register. I knew exactly how much to pay, which saved me from cheating cashiers. To simplify my practice, the shelves were empty, so I was never buying too many items.&quot;&quot;&quot;
rankoover 9 years ago
Reminds me of yet another cool story from Richard Feynman about beating an abacus salesman with mental arithmetic: <a href="http:&#x2F;&#x2F;www.ee.ryerson.ca&#x2F;~elf&#x2F;abacus&#x2F;feynman.html" rel="nofollow">http:&#x2F;&#x2F;www.ee.ryerson.ca&#x2F;~elf&#x2F;abacus&#x2F;feynman.html</a>
评论 #10893568 未加载
jackcosgroveover 9 years ago
Mental math is extremely useful when making financial decisions, especially because often you have to think on your feet to decide against an impulse buy and salesmen are actively trying to confuse you. That said schools have never done a good job of teaching finance basics, such as rules of thumb for calculating compound interest, or even what a reasonable interest rate is (hint: inflation is usually 2-3%, while the stock market usually grows at 6-7%).
评论 #10896657 未加载
评论 #10896753 未加载
Cyph0nover 9 years ago
My favorite trick is one my father taught me after I first learned multiplication in school. The result of any two digit number mutiplied by 11 can be found by taking the sum of the two digits and inserting it between the original digits.<p>Example:<p>54 * 11 = 5(5+4)4 = 594<p>In case the sum is greater than 9, carry the tens digit to the first digit of the result.<p>Example:<p>56 * 11 = 5(5+6)6 = (5+1)(1)(6) = 616<p>I used to challenge my fellow students to see if they could find the result faster using a calculator. They thought I was some genius.
yreadover 9 years ago
I was wondering why last digit of 5th power is the same as original number and the answer [1] is to look at x^5-x which is x(x²+1)(x+1)(x-1) and prove that it is divisible by 5 and 2 (by going through the possibilities) so it must be divisible by 10. Or [2] use euler theorem. There is a comment that (spoiler) the most general form is &quot;The last digit of, any integer and its nth power, are the same, where n=4k+1.&quot;<p>[1] <a href="https:&#x2F;&#x2F;answers.yahoo.com&#x2F;question&#x2F;index?qid=20071020225048AAfcZr6" rel="nofollow">https:&#x2F;&#x2F;answers.yahoo.com&#x2F;question&#x2F;index?qid=20071020225048A...</a><p>[2] <a href="http:&#x2F;&#x2F;www.johndcook.com&#x2F;blog&#x2F;2015&#x2F;07&#x2F;04&#x2F;when-the-last-digits-of-powers-dont-change&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.johndcook.com&#x2F;blog&#x2F;2015&#x2F;07&#x2F;04&#x2F;when-the-last-digit...</a>
codeshamanover 9 years ago
I bet this art is not dying, but actually flourishing like never before.<p>The sheer amount of information in the form of websites, books, videos and so on should be a pointer. I mean just google &quot;mental math tricks&quot;..<p>It&#x27;s true that we can offload complicated brain tasks like number crunching to computers, but people do a lot of hard things also because the process gives them satisfaction. They climb mountains and walk thousands of miles not because they want to get somewhere, but because it&#x27;s exciting and hard.<p>For this reason, I think people will continue to study and invent new mental math tricks...<p>More people, more free time, almost infinite info available... No, this art isn&#x27;t going anywhere ;)
joshmnover 9 years ago
My favorite is still the multiples of 9 by putting down one finger. It amazes me.<p>Of course it only works with a full set of fingers, but still.
评论 #10893424 未加载
评论 #10893270 未加载
评论 #10893271 未加载
评论 #10893336 未加载
bumbledravenover 9 years ago
Two excellent books on the subject are <i>Secrets of Mental Math</i> by Arthur Benjamin (for beginners) and <i>Dead Reckoning: Calculating Without Instruments</i> by Ronald Doerfler (more advanced).<p>The <i>Mind Your Decisions</i> blog (<a href="http:&#x2F;&#x2F;mindyourdecisions.com&#x2F;blog&#x2F;tag&#x2F;mental-math&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mindyourdecisions.com&#x2F;blog&#x2F;tag&#x2F;mental-math&#x2F;</a>) has a lot of neat mental math tricks, but they&#x27;re not really organized into a unified presentation there as in the books above.
siegecraftover 9 years ago
I memorized a bunch of these for high school math competitions. You got very familiar with squares up to 100, prime numbers up to 100, converting fractions and repeating decimals. A sample test from back in the day: <a href="http:&#x2F;&#x2F;www.texasmath.org&#x2F;DL&#x2F;NS&#x2F;NS9394.pdf" rel="nofollow">http:&#x2F;&#x2F;www.texasmath.org&#x2F;DL&#x2F;NS&#x2F;NS9394.pdf</a> Of course, I&#x27;ve forgotten most of the tricks because they were so specific to the test.
tzsover 9 years ago
&gt; John H. Conway is a master of mental calculations. He even invented an algorithm to calculate the day of the week for any day. He taught it to me, and I too can easily calculate that July 29 of 1926 was Thursday. This is not useful any more. If I google “what day of the week is July 29, 1926,” the first line in big letters says Thursday.<p>It takes me under 10 seconds to do that one, which is as fast or faster than opening a new window and Googling, especially on mobile, so I think this is still useful.<p>For the contribution from the year I use my own algorithm that I find faster than Conway&#x27;s algorithm. Here&#x27;s mine. In the following, assume a&#x2F;b means floor(a&#x2F;b), and odd(k) is true iff k is odd. In a C-like notation, my expression for the year contribution is<p><pre><code> -(y&#x2F;2 - (odd(y) ? 1 : 0) - (odd(y&#x2F;2) ? 3 : 0) mod 7 </code></pre> For example, for 26, that gives -(13 - 0 - 3) = 4. The way I would do this mentally is to note that 26 is even so I&#x27;m not going to have a subtract 1 step later, divide it by 2 to get 13, note that is odd so subtract 3 giving 10. I then do the negation mod 7 by simply noting how much I have to add to reach a multiple of 7, which in the case is 4 (10 + 4 is a multiple of 7). That gives the final result, 4.<p>My inner dialog would be &quot;26...13...10...4&quot;.<p>If we were doing year xx27, it would go like this &quot;27...13...10...9...5&quot;.<p>xx28 would go &quot;28...14...0&quot;.<p>xx29 would go &quot;29...14...13...1&quot;.<p>That illustrates all four cases.<p>I find this simpler than Conway&#x27;s method, which is (y&#x2F;12 + y%12 + (y%12)&#x2F;4) mod 7, although I might find Conway&#x27;s faster if I would get off my lazy ass and memorize the multiples of 12 up to 100.<p>I also find it simpler than the odd + 11 method, which is:<p><pre><code> T := y + (odd(y) ? 11 : 0) T := T&#x2F;2 T := T + (odd(T) ? 11 : 0) T := -T mod 7 </code></pre> Odd + 11 has the nice property that you only carry one number of state, whereas mine requires carrying whether the initial year was odd or even. However, it can start out increasing the number you are working with, which slows me down a little with years near the end of a century. Mine always starts out dividing by 2, and then might subtract, so is always going toward lower numbers.<p>One could remedy this in odd + 11 by changing the first step to the equivalent<p><pre><code> T := y - (odd(y) ? 17 : 0) </code></pre> when dealing large y values, at the cost of having to do a -17 instead of a +11. (These are equivalent because of the 28 year cycle in the pattern of days of the week within a century. You can start off any of these Doomsday methods by adding 28 to or subtracting 28 from the year. So, if you have an odd year and subtract 28 before starting, and then add 11 under odd + 11, that is the same as subtracting 17 from the original year).<p>While I&#x27;m here, there is one other place that can use improvement. The Wikipedia article on the Doomsday rule gives the rule for calculating the century contribution when using the Julian calendar as:<p><pre><code> 6 x (c mod 7) mod 7 + 1 </code></pre> That&#x27;s fine, but if you just blindly follow it you&#x27;ll be doing more work than you need to. It can be simplified to this simple expression:<p><pre><code> -c + 1 mod 7 </code></pre> For example, let&#x27;s do June 15, 1215 (date of the Magna Carta) on the Julian calendar.<p>Century component: -12 + 1 mod 7. I&#x27;d do this by noting that I have to add 2 to 12 to get a multiple of 14 (that&#x27;s the -12 part), and adding the 1, so I&#x27;d mentally just go &quot;12...2...3&quot;. The century component is 3.<p>Year component: &quot;15...7...4...3...4&quot;. Year component is 4.<p>Month component for June is 1, and day is 15 = 1, so we have 1 + 1 + 4 + 3 = 2 = Monday. For the month component, I just memorize it using Conway&#x27;s suggested mnemonics, which gives 6, but since the month component is subtracted I want the negative of that, and I use the same trick I use everywhere of simply noting what I have to add to reach a multiple of 7. 6 + 1 = 7, so that&#x27;s where the one comes from.<p>Trivia: that date is also a Monday on the Gregorian calendar.<p>A couple other things that might be useful to those wanting to play around with doing calendar calculations in your head.<p>If you want to go backwards on the year component, and find a year with year contribution M, the first year of the form 4N with year contribution M is (3M % 7)x4.<p>For example, suppose I want to know a year this century (century factor is 3 for 20xx) where Christmas falls on a Tuesday. The month contribution for December is -12 = -5 = 2. So I want 3 + M + 2 + 25 = 3 mod 7. Thus, I want M = 1. Plugging that into (3M % 7)x4 I get 12, so 2012 has Christmas on Tuesday.<p>That&#x27;s already past. I want to know upcoming years with Christmas on Tuesday. We can make use of another pattern to deal with that. The next year after Y within the same century that has the same year contribution is:<p><pre><code> Y + 6 if Y is of the form 4N or 4N + 1 Y + 11 if Y is of the form 4N + 2 Y + 5 if Y is of the form 4N + 3 </code></pre> So, starting with a year Y of the form 4N, we have these years all have the same year contribution:<p><pre><code> Y, Y+6, Y+6+11, Y+6+11+6 </code></pre> and then it starts over again at Y+28, which is Y+6+11+6+5.<p>Using this, and starting from 2012 (a 4N year), we get that Christmas will also be on Tuesday on 2018 (a 4N+2 year = 2012+6), 2029 (a 4N+1 year = 2018+11), and 2035 (a 4N+3 year = 2029+6), and then the 28 year cycle repeats starting at 2040 (a 4N year = 2035 + 5 = 2012 + 28).<p>An alternative to the (3M%7)x4 approach for going from M to Y is to just memorize this:<p><pre><code> M First Y for M 0 0 1 1 2 2 3 3 4 9 5 4 6 5 </code></pre> and use the 28 year cycle to jump up by multiples of 28 if you are interest in a Y for your M that is farther into the century, and use the 6,11,6,5 pattern to move around in shorter ranges.
评论 #10896330 未加载
评论 #10893662 未加载
refrigeratorover 9 years ago
Here&#x27;s a cool site for practicing mental math (only 4 operations involving numbers up to 12 though): <a href="http:&#x2F;&#x2F;www.speedsums.com" rel="nofollow">http:&#x2F;&#x2F;www.speedsums.com</a>
chover 9 years ago
Naturally there is a Dover book that covers this topic too:<p><a href="http:&#x2F;&#x2F;store.doverpublications.com&#x2F;048620295x.html" rel="nofollow">http:&#x2F;&#x2F;store.doverpublications.com&#x2F;048620295x.html</a>
lutuspover 9 years ago
&quot;I was good at mental arithmetic and saved myself a lot of money back in the Soviet Union.&quot;<p>This reveals a weakness in western education. People in the former Soviet Union learned a lot of mathematics in the traditional way (a mixture of clever mental calculating skills and a good grounding in theory) simply because they had no alternative and there were many problems to be solved requiring higher math skills.<p>Americans, on the other hand, (as well as being famously lazy about math) now rely almost completely on calculators and computers and are gradually abandoning both mental calculation and deep theory in mathematics. An EMP will someday zap all our electronics and we&#x27;ll get our comeuppance, and we&#x27;ll have to try to remember exactly why the integral of x^2 is x^3&#x2F;3 + constant.<p>As I sailed solo around the world 25 years ago I spent a lot of my free time practicing mental math. One day in Israel I read my receipt at a restaurant and realized the waitress had inflated the cost by performing a creative kind of addition. I corrected her figures, lectured her, and paid the difference as a tip. It occurs to me that she could get away with creative addition with 99% of people, even well-educated people, because nearly no one checks the addition on a receipt.<p>Hans Bethe and Richard P. Feynman were both formidable mental calculators, at a time when that skill was valuable. There are stories about how (when they were both at Los Alamos) they would have contests to see which could produce the quickest result using somewhat different methods. This was at a time when a matrix calculation required a roomful of &quot;calculators&quot; sitting at mechanical adding machines all day long, sometimes for weeks, estimating the yield of a nuclear explosion.
评论 #10893576 未加载
quickquickerover 9 years ago
Let&#x27;s play Numberwang! <a href="http:&#x2F;&#x2F;youtu.be&#x2F;qjOZtWZ56lc" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;qjOZtWZ56lc</a>
alfiedotwtfover 9 years ago
If you find Speed Maths interesting, you&#x27;ll probably want to check out Trachtenberg&#x27;s &quot;Speed System of Basic Mathematics&quot; book:<p><a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Trachtenberg-Speed-System-Basic-Mathematics&#x2F;dp&#x2F;4871877094" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Trachtenberg-Speed-System-Basic-Mathem...</a>
mettamageover 9 years ago
I didn&#x27;t read all the comments, so this might have been said already. But I think there are some professions where quick mental arithmetic provides an edge. At one point I was learning how to play professional poker and while I had the common situations memorized, I&#x27;d calculate the less common situations. There are more use cases than just poker, chance estimation in general, or in a casual discussion where the other might not have a lot of patience.<p>Compared to the old days however it has been in decline, but just like writing -- even cursive writing -- it still has its uses (cursive writing: exposing yourself to multiple ways of writing allows for a more fluent writing style in my experience).
bumbledravenover 9 years ago
The First Sunday Doomsday Algorithm is the simplest way to calculate the day of the week for any date in your head.<p><a href="http:&#x2F;&#x2F;firstsundaydoomsday.blogspot.com" rel="nofollow">http:&#x2F;&#x2F;firstsundaydoomsday.blogspot.com</a><p>It brings together a bunch of great mnemonics, like the new &quot;odd+11&quot; rule for calculating the 2-digit year code, as well as Conway&#x27;s classic &quot;I work 9-5 at the 7-11&quot; for the month code.
leecarraherover 9 years ago
like any science, math is more about problem solving skills versus the rote action, and mental math nowadays is nothing more than a &#x27;fun&#x27; game. However some insight can be gained from mental math tricks that help solve deeper problems (log addition versus product computation for bayesian nets to avoid overflow), but the cost of teaching these tricks conveys to students that the trick is the goal, missing the point of mathematics as a science. At worse teaching such tricks results in us losing otherwise amazingly talented future mathematicians because they weren&#x27;t particularly good at the &#x27;tricks&#x27; part.
stratigosover 9 years ago
Anyone who has undergone a gauntlet of &quot;cargo cult&quot; style technical interviews knows full well that these &quot;tricks&quot; arent a dying art - they sometimes determine eligibility for a job.
Practicalityover 9 years ago
Looking at this thread there is clearly a community (overlapping significant portions of the HN community) where this is not a dying art.
Omnipresentover 9 years ago
Are there any known resources for learning math tricks like the ones mentioned in the blog post? Perhaps a book...
评论 #10893905 未加载
strongaiover 9 years ago
Indeed. In my UK primary school in the 1960s, &#x27;Mental Arithmetic&#x27; was a distinct curriculum subject.
MichaelBurgeover 9 years ago
It took me a couple seconds, but I did this mentally:<p>75^2 = (70 + 5)^2 = 4900 + 2 * 70 * 5 + 25 = 5600 + 25 = 5625
评论 #10893638 未加载
评论 #10893887 未加载