Think about it

Logic Level 2

I am thinking of a number. I multiply it by n n and add 7. My number is now 38.

Given that n n and my number are both (real) integers, how many different numbers could I be thinking of?


The answer is 4.

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.

3 solutions

Michael Fuller
Mar 27, 2015

Let the number I am thinking of be x x .

x n + 7 = 38 xn+7=38

x n = 31 xn=31

31 31 is prime, and since x x and n n are both integers, only the following combinations are possible for [ x , n ] \left[ x,n \right] : [ 1 , 31 ] \left[ 1,31 \right] [ 31 , 1 ] \left[ 31,1 \right] [ 1 , 31 ] \left[ -1,-31 \right] [ 31 , 1 ] \left[ -31,-1 \right]

Therefore there are 4 \large \color{#20A900}{\boxed{ 4}} possible numbers I could be thinking of. You've just got to be careful about remembering the negative combinations!

nice solution!!!!! I've forgotten the negative combination in my first attempt. At last, i remembered!!!!

other solvers should really 'think about it' before solving. :)

samuel ayinde - 6 years, 2 months ago

Log in to reply

Me too, I forgot about the negatives at first try, then I got confused and inputted a random answer as the second try, then I thought 1 and 31, and 31 and 1 are thought of in different situations, so I answered 4 and got it right :v. After looking at the solutions, I now understand what I missed

Abyoso Hapsoro - 6 years, 1 month ago

For some reason, I thought 38 7 = 25 38-7 = 25 . I'm amazing, aren't I.

Jake Lai - 6 years, 1 month ago

Log in to reply

Hahaha lol :v

Abyoso Hapsoro - 6 years, 1 month ago

I forgot the negatives too but then considered n and x as numbers he thought of and got it right

Dave Jones - 6 years, 2 months ago

Awesome problem

Vishal S - 5 years, 7 months ago

What about √31*√31

akarsh jain - 4 years, 4 months ago

but , it says the number can be real as well so (1/31,31 ) can also be answer.

Chandrima Saini - 5 years, 9 months ago

Log in to reply

ok forget it i did'nt read it carefully.

Chandrima Saini - 5 years, 9 months ago
Pablo Ruiz
Aug 31, 2015

Lets name the number he's thinking p pn+7=38 pn=31

Lets give 31 some values. Since 31 is a prime number, the only numbers that can be factors of it are 1 31 and -1 -31

Therefore he could be thinking just on those 4 numbers.

Hadia Qadir
Aug 31, 2015

Answer is 4 only! Let my number be m then mn+7=38 then mn=31 so possible values of m are 1,-1,31 and -31 when n=31,-31,1 and -1 respectively!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...