# The weekly MR Puzzle - by SlooksterPSV

Discussion in 'Games' started by slooksterPSV, Jun 18, 2005.

1. ### slooksterPSV macrumors 68040

Joined:
Apr 17, 2004
Location:
Nowheresville
#1
Here are the rules: PLEASE DO NOT REPLY TO THIS THREAD! I've done this game in another forum (Pocket PC forum to be exact), and I had many hits on it. But this time, I'm going to throw in different games. The first one I'm starting out with is Bitshift Binary. I will post the answers a week from the original post and start a new game at that time, or the next day.

06/18/2005
Rules: Just figure out what the number will be after bitshifting the original number. You can also use C++ to help you with the answers.

How to play Bitshift Binary: for this programming literate, this will be easy. For others, its not that hard to understand. Just take the first number and convert it into binary. 2 would be 10, 1 would be 1, 14 would be 1110 (2^3 + 2^2 + 2^1 + 0). Just convert and figure.
EXAMPLE:
8 << 1 = 16 - how?: 8 = 1000 in binary, move it over left 1 time(s) and it makes 10000 = 16 in binary.
8 >> 1 = 4 - how?: 8 = 1000 in binary, move it over right and drop the last digit(s) which makes 1000 into 100 = 4 in binary
8 >> 2 = 2 - how?: 8 = 1000 in binary, move it over and right and drop the last digit(s) which makes 1000 into 10 = 2 in binary
8 << 2 = 32 - how?: 8 = 1000 in binary, movie it over left 2 time(s) and it makes 100000 = 32 in binary

[THE GAME]
Beginners:
12 << 2
3 >> 1
5 << 1
6 >> 2

58 >> 3
25 << 3
18 >> 3
19 << 2

For Fun:
Figure out your birthday in binary! Mine is 01/25/88 which is:
1 11001 1011000
(2^0 = 1)
---(2^5 = 16, 2^4 = 8, 0, 0, 2^0 = 1, 16+8+1 = 25)
---------(2^7 = 64, 0, 2^5 = 16, 2^4 = 8, 0, 0, 0, 64+16+8 = 88)

### Staff Member

Joined:
Dec 7, 2002
Location:
New Zealand
#2
I think you have too much free time on your hands. But I'm 101 years older than you, so I'm likely to say that

3. ### jared_kipe macrumors 68030

Joined:
Dec 8, 2003
Location:
Seattle
#3
If you don't do an odd one, no one will know if you move all the numbers or what.

4. ### slooksterPSV thread starter macrumors 68040

Joined:
Apr 17, 2004
Location:
Nowheresville
#4
Beginners:
...
...
5 << 1 = 5 is 101, move it left 1 and you get 1010 which = 8 + 0 + 2 + 0 = 10
...

...
25 << 3 = 11001 is 25, move it left 3 (just add 3 0's to the end) 11001000 which = 128+64+8 = 200
...
...

5. ### mad jew Moderator emeritus

Joined:
Apr 3, 2004
Location:
#5
AHAHAHAHAHAHA

For someone who has no idea about programming this is actually a very funny thread. Should I move this post to the left by three and add a couple of zeroes to fit in?

6. ### slooksterPSV thread starter macrumors 68040

Joined:
Apr 17, 2004
Location:
Nowheresville
#6
Still baffled? This may help a bit: http://www.math.grin.edu/~rebelsky/Courses/152/97F/Readings/student-binary.html#basics at least it will for next weeks binary challenge. I may release it Monday, its a good one I promise. Really look at Addition and Multiplication. I'm not sure what will have what. I may just have easier ones for Beginners again, and more difficult ones for advanced:

Here's one to try you out on:
11*11
1101+1010
How are these alike?
How do they differ?

7. ### Mechcozmo macrumors 603

Joined:
Jul 17, 2004
#7
There are 10 kinds of people. Those that know binary, and those that don't.

8. ### notjustjay macrumors 603

Joined:
Sep 19, 2003
Location:
#8
All you have to do is look at what you're REALLY doing to the number when you're bit-shifting left or right.

Very easy.

9. ### broken_keyboard macrumors 65816

Joined:
Apr 19, 2004
Location:
Secret Moon base
#9
I don't see how this is a puzzle, it's just applying a mechanical method.

10. ### cooknwitha macrumors 6502a

Joined:
May 5, 2005
Location:
London
#10
Maybe I'm just tired but I found that very funny. I even got it! Okay, bed time.

11. ### benbondu macrumors regular

Joined:
Jul 2, 2004
#11
I don't know, I think it fits Webster's definition okay. It is a mildly interesting result you get when you carry it out, and I think the point is to figure out how to do any of these type of problems in a couple seconds. You should only have to apply the cumbersome 'method' to the first couple, depending on how mathematically astute you are.

It's probably about 6th grade difficulty with all of the hints. Although, I've seen some kids today learning binary much earlier than that.

12. ### slooksterPSV thread starter macrumors 68040

Joined:
Apr 17, 2004
Location:
Nowheresville
#12
I know this one is a little late, sorry, I had to work all day and that so here it is. I'm not going to separate them into classes of Beginners and Advanced. If you don't get these follow that link that I gave downward and try again.

06/25/2005
How to play: Just add the numbers up, if one column adds up to 2 add a 1 to the colum to the left and make the original column 0 (see example). For multiplcation just multiply then add as stated above. Here are two examples:
10110
11101+
--------
110011

Verify: 10110 = 2+4+16 = 22, 11101 = 1+4+8+16 = 29, 22+29 = 51, 110011 = 1+2+16+32 = 51

1101
0011x
------
01101
11010+
--------
100111

Verify: 1101 = 1+4+8=13, 0011=3, 3*13 = 39, 100111 = 32+4+2+1 = 39

Now for you guys to try:

11011
00111+

1010
0101+

0011
1100+

11111
11101+

MULTIPLICATION:
1101
1001x

011
111x

1011
1111x

111
111x

Hope guys like these, they're not that bad. Here are last weeks answers now:

Beginners:
12 << 2 = 1100 = 12, 110000 = 32+16=48
3 >> 1 = 11 = 3, 1 = 1
5 << 1 = 101 = 5, 1010 = 10
6 >> 2 = 110 = 6, 1 = 1 FIXED

58 >> 3 = 111010 = 58, 111 = 7
25 << 3 = 11001 = 25, 11001000 = 8+64+128 = 200
18 >> 3 = 10010 = 18, 10 = 2
19 << 2 = 10011 = 19, 1001100 = 4+8+64 = 76

13. ### slooksterPSV thread starter macrumors 68040

Joined:
Apr 17, 2004
Location:
Nowheresville
#13
I'm not going to post the puzzle till we get a phone line back. Sorry you guys. I know that this isn't like me, but we lost our phone service thanx to my sister. GTG Ciao