6
$\begingroup$

It appears that a variation on Bulgarian solitare has a fixed point regardless of the starting $n$.

For example, let $n=69$, and consider this partition: $$ (8,8,7,7,5,5,5,5,5,4,3,3,2,2) $$ In Bulgarian solitare, $1$ would be removed from each "stack/pile" to form another stack. In the variation, I remove $1$ just from the $k=9=3^2$ largest stacks, $(8,8,7,7,5,5,5,5,5)$. That reduces those stacks to $(7,7,6,6,4,4,4,4,4)$ and adds a stack of size $9$.

I find it easier to visualize this process with the stacks organized in an array with the largest stacks surrounding the upperleft corner. (Added: I just learned these are known as plane partitions.) Then $1$ is removed from the $3 \times 3$ square of stacks including the upperleft corner. The numbers are resorted and the same process applied again, always gathering from the largest $k=9$ stacks: $$ \left( \begin{array}{cccc} 8 & 8 & 5 & 4 \\ 7 & 7 & 5 & 3 \\ 5 & 5 & 5 & 3 \\ 0 & 0 & 2 & 2 \\ \end{array} \right) \;\rightarrow\; \left( \begin{array}{cccc} 9 & 7 & 6 & 4 \\ 6 & 7 & 4 & 4 \\ 4 & 4 & 4 & 3 \\ 0 & 2 & 2 & 3 \\ \end{array} \right) \;\rightarrow\; \left( \begin{array}{cccc} 9 & 8 & 5 & 3 \\ 6 & 6 & 5 & 3 \\ 3 & 4 & 4 & 3 \\ 2 & 2 & 3 & 3 \\ \end{array} \right) \;\rightarrow\; \cdots $$ The endpoint of this process, after $20$ steps, is: $$ \left( \begin{array}{cccccc} 9 & 8 & 5 & 1 & 1 & 1 \\ 6 & 7 & 4 & 1 & 1 & 1 \\ 1 & 2 & 3 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 & 1 \\ 0 & 0 & 0 & 1 & 1 & 1 \\ \end{array} \right) $$ This seems to be a fixed point regardless of $n$, as long as the list of stacks is longer than the largest $k$ being reduced at each step. (If $k$ encompasses the entire list of stacks, this just reduces to Bulgarian solitare, and cycles rather than fixed points can occur.)

My question is: Is this true, that the process described leads to the fixed point $$(k, k{-}1, k{-}2, \ldots, 3,2,1,1,1,\ldots,1)$$ under those conditions? It's a bit surprising to me that it doesn't lead to cycles for non-triangular $n$. Perhaps it does? I have not explored extensively (and I've only looked at $k$ which are squares).

$\endgroup$

1 Answer 1

4
$\begingroup$

Yes, that is what happens if there are at least $k$ stacks at each step.

It is quite clear that all stacks will be eventually bounded by $k$, since either the highest number of cards or the number of stacks with the highest number of cards reduces at every iteration if there is a stack of strictly more than $k$ cards. When we have reached this state, the biggest stack always has $k$ cards.

Let $N_m$ denote the number of stacks of size $m$ and define the function $\phi_a(i)=1+\max\{0,i-a\}$, $a\in\mathbb N$. Suppose we have already reached the state when $N_m=0$ for $m>k$. At every iteration $N_k\mapsto\phi_k(N_k)$. (One stack of size $k$ is created, up to $k$ become smaller.) This map is strictly decreasing as long as $N_k>1$, so eventually $N_k=1$.

Then suppose $N_k\equiv1$ and consider $N_{k-1}$. If $N_{k-1}=0$, then it will be one on the next turn, so we can assume $N_{k-1}\geq1$. At every iteration $N_{k-1}\mapsto\phi_{k-1}(N_{k-1})$. Again $\phi_{k-1}$ is strictly decreasing until it hits its fixed point $1$, so eventually $N_{k-1}=1$.

This argument can be continued inductively, using $\phi_m$ for $N_m$. Eventually $N_k=N_{k-1}=\dots=N_2=1$. But $\phi_1$ is the identity map, so $N_1$ does not tend to $1$; it just stays where it happens to end up.

Clarification: As the OP's example demonstrates, not every $N_i$ is always strictly decreasing. When we have reached the state where all stacks are bounded by $k$, the number $N_k$ is strictly decreasing (until it hits one). When $N_k$ has stabilized to one, $N_{k-1}$ is strictly decreasing (until it hits one), and so on. If $N_{k-1}$ happens to be zero, it will become one in one turn and stay there. So each $N_m$ will only start its monotone decay towards one when $N_i=0$ for $i>k$ and $N_i=1$ for $k\geq i>m$ (again with the exception when it grows one step).

Assuming no zeros occur for $N_m$, $m\leq k$, the sequence $(N_i)_{i=1}^\infty$ is strictly decreasing in lexicographical order: if $m$ is the highest index for which $N_m$ changes, then $N_m$ decreases (strictly, unless we are at the final fixed point).

$\endgroup$
5
  • $\begingroup$ Thanks for responding! I am having some difficulty following your argument, maybe because as I phrased it, $n$ and $k$ have special meaning, but perhaps in your explanation they are (sometimes) just indices. Certainly $N_i$ is not strictly decreasing for all $i$ throughout the process. Could I ask you to try to clarify from when onward $N_i$ is strictly decreasing for which $i$? $\endgroup$ Commented Aug 21, 2014 at 20:06
  • $\begingroup$ @JosephO'Rourke, I removed $n$ from my answer, as it was just an index. The number $n$ only appears in the assumption that there are always enough stacks. But $k$ is always the number of stacks that lose one card. (Do ask again if I'm still confusing you.) $\endgroup$ Commented Aug 21, 2014 at 20:23
  • $\begingroup$ I had overlooked the possibility that $N_i$ might vanish when it's supposed to start decaying. I made the correction. $\endgroup$ Commented Aug 21, 2014 at 21:42
  • $\begingroup$ Thank you, this is much clearer now. In my example with $k=9$, once we have just one stack of height $9$ ($N_9=1$), that stack is reduced to height $8$ while all the other $8$s (within the 1st $k$) become $7$s. So if all the $8$s are within the 1st $k$, immediately we have $N_8=1$ (and the stack of $9$ is replenished). If some of the $8$s extend beyond the 1st $k$, they are unaltered, but still $N_8$ diminishes. $\endgroup$ Commented Aug 21, 2014 at 22:41
  • 2
    $\begingroup$ This Bulgarian Solitaire variant feels similar to the ``Austrian Solitaire'' of Akin and Davis (Amer. Math. Monthly 92 (1985) 237--250). There, 1 card is removed from each stack, but only stacks of size k are added, with any remaining cards left in a "bank" for the next round. Akin & Davis conjecture that there is a fixed point for each n and k. I wonder if Joonas' argument might help prove the conjecture. $\endgroup$ Commented Aug 24, 2014 at 17:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .