Earlier quoted context omitted.
I still don't get it :D
This comment from the linked Reddit thread explains how: > Each sentence is extra data given to the other person. > When Peter says "I don't know the numbers", means that he doesn't have enough information. For example, if the product of the numbers is 10, it could be (1,10) or (2,5). But if the product is 9801, then Peter would know the answer (99,99). Therefore, his first sentence reveals to Sandy that (99,99) isn'…
Think of a Number. How Do Math Magicians Know What It Is?
11–20 of 60 posts
Re: Think of a Number. How Do Math Magicians Know What It Is?
#12Earlier quoted context omitted.
This comment from the linked Reddit thread explains how: > Each sentence is extra data given to the other person. > When Peter says "I don't know the numbers", means that he doesn't have enough information. For example, if the product of the numbers is 10, it could be (1,10) or (2,5). But if the product is 9801, then Peter would know the answer (99,99). Therefore, his first sentence reveals to Sandy that (99,99) isn'…
Yeah, I read this explanation, and I'm probably being very dense, but I still don't get it :)
Re: Think of a Number. How Do Math Magicians Know What It Is?
#13I started hacking on this protocol using a pencil and paper variation of Diffie-Hellman where instead of a secret key agreement you arrive at the same salary number (as a function of the difference in your secret numbers), but realized you can do a one-sided version of this where the potential employee says to the recruiter "think of your max budget for this role" using a variation the second puzzle in article, though unfortunately the recruiter would likely feel tricked, so I've gone back to working on a DH-like protocol ahead of time because it would be fairer.
Of course I would have liked to have made a blog post out of it, but this article is so close and mine is still half-baked, so if someone beats me to it and wants to leverage the power of being wrong on the internet in this comment thread, we could create a fair protocol that improves the lives of all parties involved in the hiring process.
Re: Think of a Number. How Do Math Magicians Know What It Is?
#14Earlier quoted context omitted.
This comment from the linked Reddit thread explains how: > Each sentence is extra data given to the other person. > When Peter says "I don't know the numbers", means that he doesn't have enough information. For example, if the product of the numbers is 10, it could be (1,10) or (2,5). But if the product is 9801, then Peter would know the answer (99,99). Therefore, his first sentence reveals to Sandy that (99,99) isn'…
Yeah, I read this explanation, and I'm probably being very dense, but I still don't get it :)
Sandy knows the sum and has now been told that Peter doesn't know the pair. If the sum had been 6, the following pairs are possible: (1+5) (3+3) (4+2), Peter has just ruled out (1x5) and (3x3), so Sandy would be able to narrow it down to (1,5) if the sum had been 6.
So when she tells Peter she can't narrow it down, it tells him that the pair isn't (4,2) either (among many others).
And if Peter's number were 8: (1x8) or (2x4) he'd be able to solve it, but he doesn't so Sandy then knows that (1,8) isn't the solution either.
Re: Think of a Number. How Do Math Magicians Know What It Is?
#15My immediate reaction to "Think of a number...Magicians...": The tricks probably require that their targets think of only natural numbers - {1, 2, 3, 4, ...}. And assume that most folks will pick small, dull natural numbers. (Vs., say, 2^24-1. Which is the maximum unsigned mediumint value in MySQL. Or, if you've ever been stuck doing low-level stuff with a 80286 CPU...) It'd be interesting to see if any of the tricks…
Re: Think of a Number. How Do Math Magicians Know What It Is?
#16Earlier quoted context omitted.
This comment from the linked Reddit thread explains how: > Each sentence is extra data given to the other person. > When Peter says "I don't know the numbers", means that he doesn't have enough information. For example, if the product of the numbers is 10, it could be (1,10) or (2,5). But if the product is 9801, then Peter would know the answer (99,99). Therefore, his first sentence reveals to Sandy that (99,99) isn'…
Yeah, I read this explanation, and I'm probably being very dense, but I still don't get it :)
Re: Think of a Number. How Do Math Magicians Know What It Is?
#17Earlier quoted context omitted.
Yeah, I read this explanation, and I'm probably being very dense, but I still don't get it :)
Since Peter is given the product of the two numbers, he should instantly know the pair if both numbers are prime, but since he doesn't it rules out pairs like (7x11) = 77 and (2x53) = 106. Sandy knows the sum and has now been told that Peter doesn't know the pair. If the sum had been 6, the following pairs are possible: (1+5) (3+3) (4+2), Peter has just ruled out (1x5) and (3x3), so Sandy would be able to narrow it d…
I think pair (7x11)=77 can't be rule out, because pair (1x77) is also equal 77.
still don't got it...
Can you explain the situation for 3 turns before Peter knows, Sincere thanks.
Re: Think of a Number. How Do Math Magicians Know What It Is?
#18Earlier quoted context omitted.
Yeah, I read this explanation, and I'm probably being very dense, but I still don't get it :)
Since Peter is given the product of the two numbers, he should instantly know the pair if both numbers are prime, but since he doesn't it rules out pairs like (7x11) = 77 and (2x53) = 106. Sandy knows the sum and has now been told that Peter doesn't know the pair. If the sum had been 6, the following pairs are possible: (1+5) (3+3) (4+2), Peter has just ruled out (1x5) and (3x3), so Sandy would be able to narrow it d…
That should actually be "if the product of their respective smallest prime factors is over 100". 7x11 can't be ruled out since 1x77 also produces 77, whereas 49x17 and Nx53 can be ruled out.
You can also rule out some of the larger squares, e.g. 25x25 and 64x64, so there's probably still a better phrasing for that
Edit: Can also rule out 1xPrime
Re: Think of a Number. How Do Math Magicians Know What It Is?
#19Re: Think of a Number. How Do Math Magicians Know What It Is?
#20[0] https://web.archive.org/web/20121228075545/http://devblog.bu...