Author Topic: Re: Math Puzzle  (Read 611 times)

0 Members and 1 Guest are viewing this topic.

Offline _vince

  • Seasoned Forum Regular
  • Posts: 422
    • View Profile
Re: Math Puzzle
« on: February 28, 2020, 04:43:28 pm »
Quite silly, you are subtracting the number from a slightly modified version of that number, intuitive that it could cancel out, hardly a trick. I guess the 'trick' is sticking a bunch of 2's in there that cancel out to hide the fact that you're doing a mere addition to the original number

((x + 5)*2 - 2)/2 - x = ((x + 5) - 1) - x = x + 4 - x = 4

Offline _vince

  • Seasoned Forum Regular
  • Posts: 422
    • View Profile
Re: Math Puzzle
« Reply #1 on: February 28, 2020, 04:54:53 pm »
That makes it a little clever, hides the cancellation. The general form is

((x + a)*k - k*b)/k - x = a - b

so long as the number 'to subtract' is in the form k*b, you will always get the number a - b. I was wondering what goddamn show would try to pull this off but turns out it's a kid's math show so fair enough

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: Math Puzzle
« Reply #2 on: February 29, 2020, 12:23:58 am »
I used to do this trick to kids.. They are really amazed at this, and I told them that, "I have read your mind".
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials