+0  
 
-1
635
6
avatar

Mr. Schwartz has been hired to paint a row of 7 houses. Each house must be painted red, blue, or green. However, to make it aesthetically pleasing, he doesn’t want any three consecutive houses to be the same color. Find the number of ways he can fulfill his task

 Jun 15, 2020
 #1
avatar+678 
+3

i am pretty sure there's 12 different ways

 Jun 15, 2020
 #2
avatar+9519 
-1

I wrote a code to find the answer. I tried all 37 possibilities of painting the houses, and filtered out those which doesn't satisfy the condition. In total, there are 1344 ways to paint the houses.

 

Here is my source code: https://pastebin.com/04c3EeUn
 

 Jun 15, 2020
 #3
avatar
0

I would just like to say that this question is on the MBMT Math tournament and that you are basically making fun of all the other teams like mine that spent hours trying to solve this problem where you just took 2 minutes out of your day to post it on this website acting like an innocent person seedind help on his homework.

 Jun 15, 2020
 #4
avatar
0

well if you searched this up didn't you do the same thing @guest?

Guest Jun 15, 2020
 #6
avatar+1253 
+2

I'm doing MBMT and I use web2.0 every so often, and have been for a couple years (check my profile.) This isn't allowed.

CoolStuffYT  Jun 17, 2020
 #5
avatar
0

My team already solved the problem yesterday.

 Jun 15, 2020

5 Online Users

avatar
avatar
avatar