Join the Guessing Game

Logic Level 2

Sam asked Tim to play a guessing game where the former will be the one who'll be guessing. This is how they played it:

  • Tim thought of two consecutive positive integers and didn't tell them to Sam.
  • Sam thought of a positive integer and tells it to Tim.
  • Tim added his smaller number to Sam's number and didn't tell the sum.
  • Tim subtracted the sum to his larger number and didn't tell the difference.

Sam was able to figure out the difference without knowing Tim's original two numbers.

What is the difference?

1 1 more than Sam's number 1 1 more than Tim's larger number 1 1 less than Tim's smaller number 1 1 less than Sam's number

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Kaizen Cyrus
Jan 26, 2019

Let's say that Sam's number is S S while Tim's numbers are T T and T + 1 T+1 . At first, Tim added his smaller number to Sam's number.

S + T S+T

Next, Tim subtracted the sum to his larger number.

( S + T ) ( T + 1 ) = ( S + T ) + ( T 1 ) = S 1 (S+T)-(T+1)=(S+T)+(-T-1)=S-1

The T T above cancels out since adding two numbers with opposite signs will give 0 0 . So this leaves us with 1 less than Sam’s number \boxed{1 \space \text{less than Sam's number}} .

Substract a to b means "b-a", thus the result should be the >negative< of 1 less than Sam's number.

Eric Scholz - 2 years, 4 months ago

Log in to reply

"Subtract a a to b b " is a b a-b .

b a b-a would be "subtract a a from b b " since you're subtracting from b b , so b b comes first in the expression.

Kaizen Cyrus - 2 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...