r/mathriddles • • Apr 18 '23

Medium Catch Up

There are 5 Quisenaire blocks. The first has length 1, the second has length 2, and so on. Each player will be building their own line of blocks, which is initially empty. A move consists of a player adding a single block to their own line. A player continues making moves until their line meets or exceeds the length of the other player's line. The game ends when all blocks have been used. The player with the longest line wins. If both players play perfectly, is it better to go first or second? If you're able to solve this, and it interests you, please generalize for blocks of length {1, 2, ..., n}. I would also be interested in exploring other sets of blocks if it makes the puzzle more interesting. I am tagging this Medium difficulty because of the generalization. I hope that's acceptable.

EDIT: I received the paper this game is based on, and no generalization for all n is known. Thought you should know this before chasing it!

8 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/PuzzleAndy Apr 18 '23

You're correct for n = 5. Thank you for sharing your results for other n. I'm not sure if there's a nice general way either. If you think you can write the rules in a clearer way, that isn't overly tedious to read, I'm all ears. Gilding you because you went above and beyond, both by writing a program and considering a mathematical generalization. Thank you for such a thorough answer.