Tuesday Brainteaser Thread (now with 100% less math!)

QED

Diamond Member
Dec 16, 2005
3,428
3
0
Ok, a few weeks ago I posted a few brainteaser problems, and some complained there was "too much math involved".

So I present for your problem-solving pleasure, a non-math brainteaser:

You have just bought a house that has an odd-shaped room with 7 wall surfaces (not counting the floor or ceiling), all painted different colors. Having 7 colors in a single room is very bad feng shui, so you call in a painter to rectify the situation. For good feng shui, any two walls that touch must not be painted the same color. Also, good feng shui suggests (but does not require) that a wall that has windows be painted yellow to match the sunlight the windows bring in. You instruct your painter you would like the one wall that has windows to be painted yellow, and you want the remaining 6 walls alternatively painted red and blue. This will give you excellent feng shui.

You leave for the day to let the painter do his work. When you come home, you find out that the painter had done as you requested, except instead of painting the wall with windows yellow he accidentally painted an adjacent wall yellow.

You'd like to fix the situation yourself by repainting the room to match your original request, but you don't want to incur any more bad feng shui in doing so. Is there some way you can repaint the room using the three colors (red blue, and yellow), one wall at a time, so that at no time during repainting do any two adjacent walls have the same color?
 

OdiN

Banned
Mar 1, 2000
16,430
3
0
Answer: Feng Shui is bullshit, and it doesn't matter what order you paint the walls in. They were already "bad" to begin with. A little more won't hurt. Also...who the hell paints a single room with 7 walls with 3 different colors of paint? And red/blue alternating and then yellow? That's not violating Feng Shui, that's violating good taste.
 

AgaBoogaBoo

Lifer
Feb 16, 2003
26,108
5
81
Ok, so it's something like this:

RBR<B>YRB where <B> implies a window wall painted blue

You just repaint it to this, starting with the right side:
RBR<Y>RBY

and then, change the last Y to an R

I'm confused, did I do this incorrectly?
 

blackdogdeek

Lifer
Mar 14, 2003
14,453
10
81
assuming window wall in the center:

rby r brb
yby r byb
yry r byb
yrb r byb
yrb y byb
yrb y ryr
brb y rbr
 

chuckywang

Lifer
Jan 12, 2004
20,133
1
0
Originally posted by: blackdogdeek
assuming window wall in the center:

rby r brb
yby r byb
yry r byb
yrb r byb
yrb y byb
yrb y ryr
brb y rbr

This looks to be correct.
 

Foxery

Golden Member
Jan 24, 2008
1,709
0
0
Ok, the way I came up with uses an enormous amount of paint, but it works.

Assume the windows were painted blue, and the next wall in a clockwise direction wound up yellow.

I'll underline where I put the windows.
R B R B Y R B

Change the other blue walls to yellow.
R Y R B Y R Y

Now change the Red ones not near the windows to Blue.
B Y R B Y B Y

The original bad yellow wall can now be made Red, followed by correctly painting the windows Yellow.
B Y B Y R B Y

Now the remaining Yellow walls can be switched to Red, for our final pattern.
B R B Y R B R