All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers > Sequences
Colored triangle (Posted on 2018-12-14) Difficulty: 4 of 5
Begin with a finite sequence of blocks in a row, each in one of 3 colors: red, blue, yellow.

Below each pair of neighboring blocks place a new block with the color rule: If the blocks are the same color use that color but if they are different use the third color.

Example:

r b y y b
 y r y r
  b b b
   b b
    b
How can the color of the last block be easily predicted from the top row?

Note: I don't know the full answer but can solve special cases.

No Solution Yet Submitted by Jer    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: proposed solution | Comment 7 of 10 |
(In reply to proposed solution by xdog)

I think you got it.  I didn't think working with numbers would work because 0+1=2, 0+2=1, 2+1=0 isn't recognizeable.  


But because the sum is always  0 mod 3, your idea works.  

You can even streamline your process further by doing eveything mod 3.



  Posted by Jer on 2018-12-18 11:07:19
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information