News for hackers. Stuff that matters.
Re:Where did the other dollar go, Jeff? by bombcar on Wednesday April 28, 2021 @10:44AM (#26969947)
If you care more about the dollar than Amazon:

https://www.mathsisfun.com/puzzles/where-did-the-dollar-go--...

>When the Waiter returns 3 dollars, the 3 friends had paid $25 to the Cashier and $2 to the Waiter. $25+$2 = $27 = 3 x $9.

Re:Where did the other dollar go, Jeff? by bentcorner on Wednesday April 28, 2021 @11:39AM (#26970610)
Rewriting the question as if the room was supposed to be free also makes the bad math clear:

> Three tourists stop at a hotel, and the manager tells them that a shared room will cost $30. Finding the price agreeable, they pony up $10 each and retire to the room. Later that afternoon, the manager, who is honest, realizes that the room was meant to be priced at $0. The manager orders the bellhop to return the excess $30 to their guests. The bellhop, who is not honest, takes $30 from the register and return only $1 to each tourist, pocketing the remaining $27.

> Now, each of the three tourists has spent $9, for a total of $27. The bellhop has retained $27, which brings the total to $54. Where did the other dollar go?

Re:Where did the other dollar go, Jeff? by neogodless on Wednesday April 28, 2021 @12:00PM (#26970864)
When you word it that way, I get a bit angry when I read "which brings the total to."
Re:Where did the other dollar go, Jeff? by mister_tee on Wednesday April 28, 2021 @03:13PM (#26972955)
Yes, that phrase is definitely doing some work here :). The followup might be "the total of what?" +1 to sibling post on proper bookkeeping but we can also sum inflow/outflow for each of the entities. There isn't a node where it makes sense to add +$27 and +$2.

The customers collectively are at -10*3 + 1*3 = -$27. The hotel is at 10*3 - 5 = $25 The bellhop is at 5 - 1*3 = $2

And those sum to zero for the system; no money was created or destroyed.

Or, thinking in terms of physical bills, the bellhop's two dollars are a subset of the 27 the customers paid out and adding them is double-counting. The real math behind the problem is just 27 = 25 + 2.

Re:Where did the other dollar go, Jeff? by StevenWaterman on Wednesday April 28, 2021 @11:04AM (#26970191)
It clicked for me when I allowed negative balances

  Customers: 0 -30 -30 -27
  Hotel    : 0  30  25  25
  Bellhop  : 0   0   5   2
  Total    : 0   0   0   0
Re:Where did the other dollar go, Jeff? by Joker_vD on Wednesday April 28, 2021 @11:38AM (#26970606)
"The bellhop, who is very nice, takes $5 from the register and return $2 to each tourist, paying $1 from his pocket— the guests don’t have to fuss over uneven change that way.

Now, each of the three tourists has spent $8, for a total of $24. The bellhop has spent $1, which brings the total to $25. Where did the other 5 dollars go?"

"The bellhop, who is very much not honest, takes $10 from the register and return only $1 to each tourist, pocketing the remaining $7— the guests don’t have to fuss over uneven change that way.

Now, each of the three tourists has spent $9, for a total of $27. The bellhop has retained $7, which brings the total to $34. Where did those other 4 dollars come from?"

Re:Where did the other dollar go, Jeff? by rthomas6 on Wednesday April 28, 2021 @11:37AM (#26970592)
As an aside, this shows the value and reason behind double entry bookkeeping. More setup in the beginning, but ultimately much less confusing.
Re:Where did the other dollar go, Jeff? by massung on Wednesday April 28, 2021 @02:35PM (#26972559)
This was my first time seeing said puzzle, and when I got to the end I instantly was thinking? WTF you need to subtract $2 to get to the price of the room, not add to try and get to some imaginary amount of money spent.

The room is $25. Everyone paid $25 for the room + a $2 "tip" to the bellhop.

That said, I'm going to have fun emailing it to my parents. ;)

Re:Where did the other dollar go, Jeff? by munificent on Wednesday April 28, 2021 @03:09PM (#26972923)
The puzzle is a lot simpler once you merge the 3 tourists into a single unit since there is no reason to treat them separately. Then it's:

1. A three-headed tourist gives $30 to the hotel.

2. The bellhop takes $5 from the hotel.

3. The bellhop gives $3 to the tourist.

Now it's clear that the tourists are down $27, the hotel is up $25, and the bellhop is up $2.

Re:Where did the other dollar go, Jeff? by jccalhoun on Wednesday April 28, 2021 @11:37AM (#26970597)
When I was a teenager this blew our minds and stumped us for days.
Re:Where did the other dollar go, Jeff? by briffle on Wednesday April 28, 2021 @12:25PM (#26971180)
I'm mid 40's, and really glad someone posted an answer, because that was starting to drive me nuts :)
Re:Where did the other dollar go, Jeff? by js2 on Wednesday April 28, 2021 @05:02PM (#26974148)
Surely you're familiar with the Monty Hall problem, but if not:

https://en.wikipedia.org/wiki/Monty_Hall_problem

Re:Where did the other dollar go, Jeff? by rgoulter on Wednesday April 28, 2021 @12:40PM (#26971342)
The most recent viral maths problem I recall is Cheryl's birthday out of Singapore. https://www.youtube.com/watch?v=emiMj8cCL5E