Eisele, P.; Hadeler, K.P. Game of cards, dynamical systems, and a characterization of the floor and ceiling functions. Am. Math. Mon. 97, No.6, 466-477 (1990). Zbl 724.58036 Consider a deck of N cards, numbered 1 to N from top, face down. They are distributed into b packs, face up. After reversing the packs, p cards are put on top of an indicated pack and the remaining cards are put underneath. The new position $x\sb 1$ of card $x\sb 0$ is then $x\sb 1=p+\lceil \frac{x\sb 0}{b}\rceil$, where for any real x, $\lceil x\rceil$ denotes the smallest integer not less than x. Thus the parameter N is not essential. We thus have a dynamical system $$ x\sb{n+1}=f(x\sb n),\quad n=0,1,2,...,\quad f: {\bbfZ}\to {\bbfZ},\quad f(x)=a+\lceil \frac{x}{b}\rceil, $$ for given $a\in {\bbfZ}$ and $b\in {\bbfN}\setminus \{1\}$. A variant of the problem, in which we start with a face up deck and never reverse the packs, leads to a dynamical system $$ x\sb{n+1}=f(x\sb n),\quad n=0,1,2,...,\quad f(x)=a-\lceil \frac{x}{b}\rceil. $$ The authors study these dynamical systems and show that for the first one there are at most two stationary points, and every trajectory converges to one of these. They give an explicit expression for the stop time and as a consequence it is known how many steps are necessary to determine the unknown card in the general game of cards. For the variant system they distinguish the cases with stationary points from those with periodic orbits of order two. Redish, K.A.; Smyth, W.F. Closed form expressions for the iterated floor function. (English) [J] Discrete Math. 91, No.3, 317-321 (1991). [ISSN 0012-365X] Zbl 757.05066 For positive integers $k$, $r$, and $n\ge k+1$, the iterated floor function $f\sb{k,r}$ is defined by $$f\sb{k,r}(k+1)=r;\quad f\sb{k,r}(n)=\left\lfloor{n\over n-k}f\sb{k,r}(n-1)\right\rfloor,\quad n