Will we find a closed form for the expected number of moves in eidetic single-player Memory?
13
464
Ṁ360Ṁ141
resolved Mar 8
Resolved
NO1D
1W
1M
ALL
Consider the single-player version of Memory, where you try to uncover matching pairs of cards by flipping over two at a time. If they match, remove them -- if not, put them back. And assume you have a perfect memory and play perfectly. Given p pairs of cards (n=2p cards total), how many turns does it take, in expectation, to find all the matches? We have a recursive function that can efficiently get the answer for any specific number of cards but have not found a closed form.
Will we find it?
Here's our ongoing progress: https://forum.beeminder.com/t/matching-game-perfect-play/10346
Get Ṁ200 play money
Related questions
🏅 Top traders
# | Name | Total profit |
---|---|---|
1 | Ṁ7 | |
2 | Ṁ3 | |
3 | Ṁ3 | |
4 | Ṁ1 | |
5 | Ṁ0 |
Sort by:
@agentydragon I have not! I'm not actually even sure where to start on doing so, for whatever that's worth in predicting our success at this endeavor.
@dreev there's a book, generatingfunctionology. Or start from a book on discrete math (probably), for problems like counting involutional, or finding the closed form formula for Catalan numbers
@dreev While I'm optimistic that you'll succeed---that is, that you'll say "we have succeeded"---I still think this is vaguely worded enough to be potentially problematic.
For instance, I expect that you would *not* allow a solution of the following form:
"I give you a straightforward expression for a function F_p(E), where E is a vector of dimension p^3 (representing various expectation values). F has a single global minimum. The value of a particular (specified) component of E, at that global minimum, is the desired expectation value."
(I choose that example because one can encode the recursion relation in that form.)
But it's not so clear where the dividing line is, and this is just one example of a problematic construct. I would hope that you would allow "here's a function of one variable; the largest root that lies in [0,1] is the expectation value you want", but many people would not allow that as "closed form".
@ScottLawrence Ha, I love it. Does Wikipedia have something reasonably authoritative? https://en.wikipedia.org/wiki/Closed-form_expression
Even if not, I meta-predict that the gray area here has small measure, so to speak, and that we'll either find something that obviously counts as closed-form or we'll fail to.
@dreev I view wiki's definition as being *way* too restrictive. I think you'd accept a 1-d integral. But it's very difficult to define a broader definition in a way that excludes some of the more extreme tricks...
@ScottLawrence Affirmative. It's unlikely that we come up with some crazy technically non-recursive expression involving integrals or "the minimum of such-and-such function" or whatever. Much more likely we'll either find some closed form like the nth root of the golden ratio or something delightful like that or else we just won't find anything better than the recursive function we have currently.
In other words, it's very unlikely that we'll find ourselves needing to debate definitions of "closed form" in order to properly resolve this.
More related questions
Related questions
[Let's Play] Will this game last an even number of rounds? (Round 1)
Will PRL-8-53 seem to improve Tetraspace's measured short-term memory?
36% chance
Will AI be able to generate correct images of a chess game in 2024?
42% chance
Will an AI solve any important mathematical conjecture before January 1st, 2030?
69% chance
Will an optimal first move for white in chess be known by 2040?
21% chance
Will AI be able to solve easy odd-one-out riddles by 2025?
73% chance
[Let's Play] Will this game last an odd number of rounds? (Round 1)
Will a 3x3 magic square of distinct perfect square numbers be proven impossible by end of 2025?
15% chance
Will language models be able to solve simple graphical mazes by the end of 2025?
65% chance
Will it be proven that nxn magic squares of distinct perfect square numbers exist for all n ≥ 4 by end of 2025?
13% chance