Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Post History

42%
+1 −2
Incubator Q&A Delta and Epsilon play a game with marbles

Solution Yes, by Sprague-Grundy. The same comment as I made on the related question applies. Answer to what I suppose to be the intended question $146$ is an N-position (the next player to mov...

posted 4mo ago by Peter Taylor‭  ·  edited 4mo ago by Peter Taylor‭

Answer
#3: Post edited by user avatar Peter Taylor‭ · 2026-05-29T09:04:17Z (4 months ago)
Apparently Markdown link syntax doesn't work inside <summary> blocks
  • <details><summary>Solution</summary>
  • Yes, by [Sprague-Grundy](https://en.wikipedia.org/wiki/Sprague%E2%80%93Grundy_theorem). The same comment as I made on the related question applies.
  • </details>
  • <details><summary>Answer to what I suppose to be the intended question</summary>
  • $146$ is an N-position (the next player to move wins), so Delta can win.
  • </details>
  • <details><summary>Details</summary>
  • The P-positions (previous player wins) are $5k$ and $5k+2$, and the N-positions are $5k+1$, $5k+3$, $5k+4$, where we assume throughout that $k$ is an integer.
  • From $5k$ marbles either $k=0$ and the previous player has won, or we go to one of $5k'+1$ or $5k'+4$. From $5k+2$ marbles we go to $5k'+1$ or $5k'+3$.
  • From $5k+1$ or $5k+4$ we can choose to go to $5k$, and from $5k+3$ we can choose to go to $5k+2$.
  • ---
  • For those who are not familiar with this style of argument, the key points are:
  • * The possible game states are partitioned into two: those where the remainder after dividing the number of marbles by $5$ is $0$ or $2$, and those where the remainer is $1$, $3$, or $4$. Every game state is in exactly one of these groups.
  • * The game state where the game has terminated and the next player has no move ($0$ marbles left, with remainder $0$) is in the first group.
  • * From the first group, every legal move goes to the second group.
  • * From the second group, there is always a legal move to the first group.
  • * Therefore when it is your turn, if the game state is in the second group you should force it to the first group, and then your next turn will also be from the second group. Since you never play a state from the first group, you will never be the player to (fail to) move from the $0$ marble state.
  • </details>
  • <details><summary>Solution</summary>
  • Yes, by <a href="https://en.wikipedia.org/wiki/Sprague%E2%80%93Grundy_theorem">Sprague-Grundy</a>. The same comment as I made on the related question applies.
  • </details>
  • <details><summary>Answer to what I suppose to be the intended question</summary>
  • $146$ is an N-position (the next player to move wins), so Delta can win.
  • </details>
  • <details><summary>Details</summary>
  • The P-positions (previous player wins) are $5k$ and $5k+2$, and the N-positions are $5k+1$, $5k+3$, $5k+4$, where we assume throughout that $k$ is an integer.
  • From $5k$ marbles either $k=0$ and the previous player has won, or we go to one of $5k'+1$ or $5k'+4$. From $5k+2$ marbles we go to $5k'+1$ or $5k'+3$.
  • From $5k+1$ or $5k+4$ we can choose to go to $5k$, and from $5k+3$ we can choose to go to $5k+2$.
  • ---
  • For those who are not familiar with this style of argument, the key points are:
  • * The possible game states are partitioned into two: those where the remainder after dividing the number of marbles by $5$ is $0$ or $2$, and those where the remainer is $1$, $3$, or $4$. Every game state is in exactly one of these groups.
  • * The game state where the game has terminated and the next player has no move ($0$ marbles left, with remainder $0$) is in the first group.
  • * From the first group, every legal move goes to the second group.
  • * From the second group, there is always a legal move to the first group.
  • * Therefore when it is your turn, if the game state is in the second group you should force it to the first group, and then your next turn will also be from the second group. Since you never play a state from the first group, you will never be the player to (fail to) move from the $0$ marble state.
  • </details>
#2: Post edited by user avatar Peter Taylor‭ · 2026-05-29T09:01:53Z (4 months ago)
Link Sprague-Grundy and explain N- and P-positions
  • <details><summary>Solution</summary>
  • Yes, by Sprague-Grundy. The same comment as I made on the related question applies.
  • </details>
  • <details><summary>Answer to what I suppose to be the intended question</summary>
  • $146$ is an N-position, so Delta can win.
  • </details>
  • <details><summary>Details</summary>
  • The P-positions are $5k$ and $5k+2$, and the N-positions are $5k+1$, $5k+3$, $5k+4$, where we assume throughout that $k$ is an integer.
  • From $5k$ marbles either $k=0$ and the previous player has won, or we go to one of $5k'+1$ or $5k'+4$. From $5k+2$ marbles we go to $5k'+1$ or $5k'+3$.
  • From $5k+1$ or $5k+4$ we can choose to go to $5k$, and from $5k+3$ we can choose to go to $5k+2$.
  • </details>
  • <details><summary>Solution</summary>
  • Yes, by [Sprague-Grundy](https://en.wikipedia.org/wiki/Sprague%E2%80%93Grundy_theorem). The same comment as I made on the related question applies.
  • </details>
  • <details><summary>Answer to what I suppose to be the intended question</summary>
  • $146$ is an N-position (the next player to move wins), so Delta can win.
  • </details>
  • <details><summary>Details</summary>
  • The P-positions (previous player wins) are $5k$ and $5k+2$, and the N-positions are $5k+1$, $5k+3$, $5k+4$, where we assume throughout that $k$ is an integer.
  • From $5k$ marbles either $k=0$ and the previous player has won, or we go to one of $5k'+1$ or $5k'+4$. From $5k+2$ marbles we go to $5k'+1$ or $5k'+3$.
  • From $5k+1$ or $5k+4$ we can choose to go to $5k$, and from $5k+3$ we can choose to go to $5k+2$.
  • ---
  • For those who are not familiar with this style of argument, the key points are:
  • * The possible game states are partitioned into two: those where the remainder after dividing the number of marbles by $5$ is $0$ or $2$, and those where the remainer is $1$, $3$, or $4$. Every game state is in exactly one of these groups.
  • * The game state where the game has terminated and the next player has no move ($0$ marbles left, with remainder $0$) is in the first group.
  • * From the first group, every legal move goes to the second group.
  • * From the second group, there is always a legal move to the first group.
  • * Therefore when it is your turn, if the game state is in the second group you should force it to the first group, and then your next turn will also be from the second group. Since you never play a state from the first group, you will never be the player to (fail to) move from the $0$ marble state.
  • </details>
#1: Initial revision by user avatar Peter Taylor‭ · 2026-05-27T16:10:46Z (4 months ago)
<details><summary>Solution</summary>
Yes, by Sprague-Grundy. The same comment as I made on the related question applies.
</details>

<details><summary>Answer to what I suppose to be the intended question</summary>
$146$ is an N-position, so Delta can win.
</details>

<details><summary>Details</summary>
The P-positions are $5k$ and $5k+2$, and the N-positions are $5k+1$, $5k+3$, $5k+4$, where we assume throughout that $k$ is an integer.

From $5k$ marbles either $k=0$ and the previous player has won, or we go to one of $5k'+1$ or $5k'+4$. From $5k+2$ marbles we go to $5k'+1$ or $5k'+3$.

From $5k+1$ or $5k+4$ we can choose to go to $5k$, and from $5k+3$ we can choose to go to $5k+2$.
</details>