leelavati-card-magic/fitch/fitch-trick-solutions-part-one.tex
Neeldhara Misra cbf4e80161 Update Fitch trick solutions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 21:03:07 +05:30

522 lines
28 KiB
TeX

% !TEX TS-program = xelatex
\documentclass{../leelavati}
\usepackage{qrcode}
% -------------------------------------------------------------------
% Playing-card drawing helpers (TikZ)
% -------------------------------------------------------------------
\definecolor{cardred}{HTML}{C0392B}
\definecolor{cardblack}{HTML}{1A1A1A}
% Map a suit letter S/H/C/D to a symbol (\cursym) and a colour (\curcol)
\newcommand{\cursym}{}
\newcommand{\curcol}{cardblack}
\newcommand{\setsuit}[1]{%
\ifstrequal{#1}{S}{\def\cursym{\spadesuit}\def\curcol{cardblack}}{}%
\ifstrequal{#1}{H}{\def\cursym{\heartsuit}\def\curcol{cardred}}{}%
\ifstrequal{#1}{C}{\def\cursym{\clubsuit}\def\curcol{cardblack}}{}%
\ifstrequal{#1}{D}{\def\cursym{\diamondsuit}\def\curcol{cardred}}{}%
}
% Inline coloured card token, e.g. \cc{4}{S} -> 4 of spades
\newcommand{\cc}[2]{\setsuit{#2}\textcolor{\curcol}{\textsf{\textbf{#1}}\,\ensuremath{\cursym}}}
\tikzset{cardframe/.style={draw=black!55, line width=0.4pt, rounded corners=1pt, fill=white}}
% Face-up card centred at (#1,#2) with rank #3 and suit letter #4
\newcommand{\drawcard}[4]{%
\setsuit{#4}%
\draw[cardframe] (#1,#2) +(-0.375,-0.55) rectangle +(0.375,0.55);
\node[anchor=north west, font=\sffamily\bfseries\footnotesize, text=\curcol]
at (#1-0.32,#2+0.5) {#3};
\node[font=\Large, text=\curcol] at (#1,#2-0.04) {$\cursym$};
}
% Face-down card centred at (#1,#2)
\newcommand{\drawback}[2]{%
\draw[cardframe, fill=magHighlight!80, draw=magHighlight!55] (#1,#2) +(-0.375,-0.55) rectangle +(0.375,0.55);
\draw[white, line width=0.5pt] (#1,#2) +(-0.26,-0.42) rectangle +(0.26,0.42);
}
% Numeric card (for the 124-card deck), centred at (#1,#2) showing number #3
\newcommand{\drawnum}[3]{%
\draw[cardframe, fill=magHighlight!12] (#1,#2) +(-0.42,-0.52) rectangle +(0.42,0.52);
\node[font=\sffamily\bfseries\small] at (#1,#2) {#3};
}
% Small face-up / face-down tiles for the "Ups and Downs" figure
\newcommand{\udU}[2]{%
\draw[cardframe, fill=white] (#1,#2) +(-0.12,-0.2) rectangle +(0.12,0.2);
\node[font=\tiny, text=cardblack] at (#1,#2) {$\spadesuit$};}
\newcommand{\udD}[2]{%
\draw[cardframe, fill=magHighlight!75, draw=magHighlight!55] (#1,#2) +(-0.12,-0.2) rectangle +(0.12,0.2);}
\begin{document}
\selectlanguage{english}
\setstretch{1.1}
\title{\LARGE The Fitch Trick: Solutions \& Variations \\
\large ଫିଚ୍‌ଙ୍କ ତାସ ଖେଳ ଏବଂ ଏହାର ରହସ୍ୟ}
\author{\AuthorDual{ନୀଲ୍‌ଧାରା ମିଶ୍ର}{Neeldhara Misra}}
\date{}
\maketitle
\setstretch{1.2}
\begin{abstract}
In last issue's puzzle, five cards from the audience went to Badarika, who
tucked one away and laid the remaining four face-up in a row; Aalaya, absent
throughout, returned and named the hidden card. How? This article delivers the
complete answer. We give the full strategy for a standard $52$-card deck, then
ask how far the trick can be pushed: it turns out $124$ is the largest deck size
for which a winning strategy can exist, and, perhaps more surprisingly, one
always does. We prove this bound, construct an explicit scheme that realizes it,
and offer a gentler warm-up that reaches $124$ by bending one small rule. The
article closes with a tour of variations, including a version where Aalaya
predicts the outcome of a coin flip and one where the four cards may be placed
face-up or face-down.
\end{abstract}
\setstretch{1.05}
In the trick we presented in the last issue, Badarika the assistant studied
five cards an audience handed her, slipped one away, and laid the other four
face-up in a row. The magician Aalaya—who had been out of the room
throughout—walked in, glanced at the four cards, and named the fifth.
Here we revisit this magic trick and discuss how it works: we begin with the standard deck and then show how to perform the same effect with a massively extended deck of size $124$, and conclude with a discussion of several variations.
\section*{The Two Levers}
Aalaya seems to face long odds. Badarika pockets one of five cards, lays the
other four face-up in a row, and Aalaya—standing across the room, seeing
only those four—must name the hidden card from the remaining $48$
possibilities. But look more carefully at what \emph{Badarika} controls. She
chooses which of the five cards to hide, picking from five candidates; and she
chooses the order in which the remaining four cards are placed, one of
$4! = 24$ arrangements. These are two separate levers, and the trick turns on
using both together.
The first lever comes from a simple counting observation. Five cards drawn
from a $52$-card deck must include at least two of the same suit, because there
are only four suits and five cards—this is the so-called the pigeonhole principle at work. Indeed, if no suit repeated, we could have at most four cards, which contradicts the situation that there are, in fact, five. Note that there may be more than one pair of cards of the same suit and there may also be more than two cards that belong to the same suit. The claim is only that at \emph{any} subset of five cards from a standard deck of 52 cards \emph{is guaranteed} to contain a pair of cards that have the same suit.
Badarika
finds that matching pair and hides one of them. The other she lays face-up in
the first position. The moment Aalaya sees that first card, she knows the
hidden card's suit. A problem with $48$ unknowns suddenly becomes a problem
with at most $12$: the hidden card is one of the twelve remaining cards of that suit.
The second lever handles the rank. Picture the thirteen ranks—ace, two,
three, up to ten, jack, queen, king—arranged around a circle, the ace at the
top and each rank one step clockwise from the last (see Figure~\ref{fig:clock}).
Any two positions on this clock are at most six steps apart the short way
round. To see this, say the numbers are $x$ and $y$. Try going clockwise from $x$ to $y$. If you consume at most six steps, you are done, if not, then you consumed at least seven, so going counter clockwise from $x$ to $y$ (or equivalently, going clockwise from $y$ to $x$) will consume at most six steps, since there are only thirteen steps available altogether.
So among Badarika's two same-suit cards, one always sits at most six
clockwise steps ahead of the other. She reveals the card she counts \emph{from}
and keeps the one that is $k$ steps \emph{ahead} hidden, where $k$ lies between
$1$ and $6$. By choosing which of the pair to hide, she guarantees the hidden
card is always ahead and never more than six steps away.
\begin{figure}[t]
\centering
\begin{tikzpicture}[x=1cm,y=1cm]
\def\R{2.3}\def\rc{0.45}
\pgfmathsetmacro{\Rout}{\R+\rc+0.16}
\foreach \i/\lab in {1/A,2/2,3/3,4/4,5/5,6/6,7/7,8/8,9/9,10/10,11/J,12/Q,13/K}{
\pgfmathtruncatemacro{\rem}{mod(\i,13)}
\coordinate (C) at ({90-(\i-1)*360/13}:\R);
\ifnum\i=3
\colorlet{cf}{magHighlight!22}\colorlet{cd}{magHighlight}
\else\ifnum\i=10
\colorlet{cf}{magHighlight!22}\colorlet{cd}{magHighlight}
\else
\colorlet{cf}{white}\colorlet{cd}{black!35}
\fi\fi
\draw[draw=cd, fill=cf, line width=0.5pt] (C) circle (\rc);
\draw[black!25, line width=0.4pt] ($(C)+(20:\rc)$) -- ($(C)+(200:\rc)$);
\node[font=\scriptsize\bfseries, text=black!85] at ($(C)+(0,0.2)$) {\lab};
\node[font=\scriptsize, text=magHighlight] at ($(C)+(0,-0.2)$) {\rem};
}
% short-way arc: six steps clockwise from 10 to 3, crossing the K
\draw[magHighlight, line width=1pt, -{Stealth[length=4.5pt]}]
({90 - 9*360/13 - 6}:\Rout) arc[start angle={90 - 9*360/13 - 6},
end angle={90 - 2*360/13 - 360 + 6}, radius=\Rout];
\node[font=\scriptsize\bfseries, text=magHighlight] at ({-242.3}:{\Rout+0.4}) {$k=6$};
\end{tikzpicture}
\caption{The thirteen ranks on a clock, each split to show its remainder
mod $13$ underneath (so $K$ is $0$, $Q$ is $12$, and so on).
In this example, the cards we have have ranks $3$ and $10$. Note that $10$ is seven steps ahead of $3$, and $3$ lies six
steps past the $10$: so we reveal the $10$, hide the $3$, and $k=6$. In terms of remainders, $10 + 6 = 16 \equiv 3 \pmod{13}$.}
\label{fig:clock}
\end{figure}
Now the whole problem collapses to a single number: Aalaya needs to receive
$k$, somewhere from $1$ to $6$. The three remaining cards are exactly the tool.
Beforehand the partners fix an ordering of the entire deck—by rank first, and
among equal ranks by suit in the order clubs, hearts, spades, diamonds\footnote{This is sometimes called the CHaSeD order, which makes it easy to remember. Of course, you can pick any order you like, as long as you and your partner both swear by the same one!}. Under
this ordering any three distinct cards fall into one Lowest, one Middle, one
Highest. There are $3! = 6$ ways to arrange three distinct things, and the
partners agree on the table below.
\begin{center}\small
\setlength{\extrarowheight}{1pt}
\begin{tabular}{cccccc}
\textsf{LMH} & \textsf{LHM} & \textsf{MLH} & \textsf{MHL} & \textsf{HLM} & \textsf{HML}\\
$1$ & $2$ & $3$ & $4$ & $5$ & $6$
\end{tabular}
\end{center}
Putting it together, here is Badarika's recipe. Find the two same-suit cards.
Decide which to hide—the one that is $1$ to $6$ clockwise steps ahead of the
other—and lay the other face-up first. Then arrange the remaining three in the
order that encodes $k$. Aalaya decodes in reverse: read the suit from the
first card; read $k$ from the Low-Middle-High pattern of the other three;
count $k$ steps clockwise from the first card's rank; and name that card in the
suit she already knows.
Let's go over a concrete example. Suppose the five cards are
the \cc{4}{S}, \cc{5}{H}, \cc{2}{C}, \cc{7}{C}, \cc{6}{D}—exactly the hand
posed as a problem in the companion article. The two clubs are the matching
pair. Going clockwise from the $2$ to the $7$ is exactly five steps, so $k=5$:
Badarika hides the \cc{7}{C} and sets down the \cc{2}{C} first. The three left
over are \cc{4}{S}, \cc{5}{H}, \cc{6}{D}; in the global order their ranks
$4,5,6$ are distinct, so $\textsf{L}=\cc{4}{S}$, $\textsf{M}=\cc{5}{H}$,
$\textsf{H}=\cc{6}{D}$. To send $k=5$ she needs \textsf{HLM}, so she lays the
\cc{6}{D}, then the \cc{4}{S}, then the \cc{5}{H}. Aalaya sees the row in
Figure~\ref{fig:basicrow}. She reads clubs from the first card, recognises
\textsf{HLM} $=5$ in the rest, counts five steps from rank $2$ to rank $7$, and
names the \cc{7}{C}. In the notation of the companion piece, the hand
$\alpha=\langle \cc{4}{S},\cc{5}{H},\cc{2}{C},\cc{7}{C},\cc{6}{D}\rangle$ maps
to $\beta=\langle \cc{2}{C},\cc{6}{D},\cc{4}{S},\cc{5}{H}\rangle$.
\begin{figure}[t]
\centering
\begin{tikzpicture}[x=1cm,y=1cm]
\drawcard{0}{0}{2}{C}
\drawcard{1}{0}{6}{D}
\drawcard{2}{0}{4}{S}
\drawcard{3}{0}{5}{H}
\drawback{4.25}{0}
\node[font=\scriptsize] at (0,-0.85) {suit};
\node[font=\scriptsize] at (2,-0.85) {\textsf{HLM} $=5$};
\node[font=\scriptsize, text=magHighlight] at (4.25,-0.85) {\cc{7}{C}?};
\end{tikzpicture}
\caption{The four cards Aalaya sees, in order, and the card she must name.
First card $\Rightarrow$ suit (clubs); the rest spell \textsf{HLM} $=5$;
$2+5=7$, so the hidden card is the \cc{7}{C}.}
\label{fig:basicrow}
\end{figure}
Rehearsing until this is automatic matters more than performers like to admit. The good news is that the mechanics do
become second nature with practice. However, if you are going to repeat the trick though, there is one structural tell: the
suit-revealing card always sits first, and an alert audience that sees several
rounds will start to wonder why position one seems special. There is a way to workaround this, and
it is worth keeping in mind—--we will return to it among the variations.
\begin{artprobox}
Warm up as the magician. Using the basic scheme above (deck order
\textsf{A,2,\dots,K}, suits \cc{}{C}\,\cc{}{D}\,\cc{}{H}\,\cc{}{S}), name the
hidden card for each row:
\smallskip
\noindent
(a)~$\langle\cc{2}{C},\cc{6}{S},\cc{6}{H},\cc{K}{C}\rangle$\\[2pt]
(b)~$\langle\cc{4}{D},\cc{K}{S},\cc{3}{C},\cc{10}{S}\rangle$.
% \footnote{Answers:
% (a) the first card \cc{2}{C} fixes clubs; \cc{6}{S},\cc{6}{H},\cc{K}{C} read as
% \textsf{MLH} $=3$, and $2+3=5$, so the \cc{5}{C}. (b) \cc{4}{D} fixes diamonds;
% \cc{K}{S},\cc{3}{C},\cc{10}{S} read as \textsf{HLM} $=5$, and $4+5=9$, so the
% \cc{9}{D}.}
\end{artprobox}
\section*{How Big Can the Deck Be?}
The trick works beautifully with a standard $52$-card deck, but a natural
question lingers: how large could the deck be? Could Badarika and Aalaya
perform the same feat with $60$ cards? A hundred?
Let us count. Suppose the deck has $n$ cards. When the audience draws five and
hands them to Badarika, the number of possible five-card hands is $\binom{n}{5}$.
Badarika's message is an ordered row of four cards, and the number of such rows is
$n(n-1)(n-2)(n-3)$. For the trick to be possible at all, there must be at least
as many messages as hands: if two different hands forced Badarika to send the
same message, Aalaya would see that message and have no way of telling them
apart.
The inequality resolves to $n \leqslant 124$. That is a striking answer. The hard ceiling from information theory is $124$
cards. A standard deck of $52$ sits comfortably below it; in principle the
trick could work for a deck more than twice as large. Most people who meet the
trick for the first time assume the numbers must be far tighter than this.
We should be careful, though. The condition $n \leqslant 124$ is necessary but
not obviously sufficient. Having enough messages to go around does not
automatically mean a valid strategy exists, because Badarika can only use the
five cards she was dealt. She cannot lay down a message built from a card she
never received. \emph{Every hand must be matched to a message whose four cards
all belong to that hand.} Showing that such a matching always exists takes a
little more work.
The right framework is a bipartite graph (Figure~\ref{fig:bipartite}). Place
all possible five-card hands on one side, and all possible ordered four-card
messages on the other. Draw an edge between a hand and a message whenever the
four cards of the message all appear in that hand. A workable strategy for
Badarika and Aalaya is exactly a \emph{perfect matching} in this graph: each
hand paired with a distinct message it contains. Does such a matching exist? It turns out that an important idea in graph theory which is known as the Hall's Marriage Theorem gives us a criterion: a
perfect matching exists if and only if every set of $k$ hands collectively
reaches at least $k$ messages.
\begin{figure*}[t]
\centering
\begin{tikzpicture}[x=1cm,y=1cm,
hand/.style={circle, draw=black!45, fill=magHighlight!12, inner sep=1.6pt, font=\scriptsize},
msg/.style={circle, draw=black!45, fill=black!4, inner sep=1.6pt, font=\scriptsize}, scale=0.8]
\foreach \i/\y in {1/2,2/1,3/0,4/-1,5/-2}{ \node[hand] (H\i) at (0,\y) {$H_{\i}$}; }
\foreach \i/\y in {1/2,2/1,3/0,4/-1,5/-2}{ \node[msg] (M\i) at (5,\y) {$M_{\i}$}; }
\node[font=\small\bfseries] at (0,2.7) {hands};
\node[font=\small\bfseries] at (5,2.7) {messages};
% a few "eligible" edges (faint)
\foreach \a/\b in {1/1,1/2,2/1,2/3,3/2,3/4,4/3,4/5,5/4,5/5,1/5,2/4}{
\draw[black!22, line width=0.4pt] (H\a) -- (M\b);
}
% a highlighted perfect matching
\foreach \a/\b in {1/2,2/1,3/4,4/3,5/5}{
\draw[magHighlight, line width=1.4pt] (H\a) -- (M\b);
}
\node[anchor=west, font=\footnotesize, text=black!70, align=left] at (6.4,1)
{An edge means ``the four cards of $M_j$\\
all lie inside hand $H_i$.''\\
\vspace{0.2em}~\\
A \textcolor{magHighlight}{perfect matching} (thick edges)\\
is a complete strategy. \\
\vspace{0.2em}~\\
At $n=124$ every vertex has degree exactly $120$, \\
which forces
such a matching to exist.};
\end{tikzpicture}
\caption{A toy picture of the real bipartite graph. At $n=124$ the two sides are
equal in size: $\binom{124}{5} = 124\cdot 123\cdot 122\cdot 121 = 225{,}150{,}024$
vertices each, and the graph is $120$-regular.}
\label{fig:bipartite}
\end{figure*}
To see if we meet this condition, checking each subset by hand would be hopeless, but fortunately the graph has a regularity that makes the condition automatic. Every
five-card hand contains exactly five four-card subsets, and each of those can
be arranged in $24$ orders, so every hand-vertex has degree $5\times 24 = 120$.
On the other side, every ordered four-card message can be extended to a hand by
appending any one of the remaining $120$ cards, so every message-vertex also
has degree $120$. In this $120$-regular bipartite graph, any collection of $k$
hands sends out $120k$ edges in total; each message can absorb at most $120$ of
them, so those hands must touch at least $k$ distinct messages. Hall's condition
holds for every subset at once, and a perfect matching exists.
The regularity carries a bonus. A finite $d$-regular bipartite graph splits into
exactly $d$ edge-disjoint perfect matchings—this is König's edge-colouring
theorem, equivalently the integer form of the Birkhoff--von Neumann theorem (a
nonnegative-integer matrix whose every row and column sums to $d$ is a sum of
$d$ permutation matrices). Our graph is $120$-regular, so it yields $120$
edge-disjoint perfect matchings, and Badarika and Aalaya do not have just one
valid strategy—they have at least $120$ to choose from.
The catch is that the proof only confirms existence. At $n=124$, the bipartite
graph has $225{,}150{,}024$ vertices on each side. The argument tells us a
strategy exists; it gives no recipe a person could actually memorise and use.
We give two methods that are performable: first a relaxed \emph{warm-up} that
reaches $124$ by extending the ideas we had with the standard-deck and introducing one small
physical gimmick, and then a more elegant scheme that works with $124$ using nothing but the order of four cards, so it can be, in principle, performed over a phone call!
\section*{A Warm-Up: Four Suits and a Little Cheating}
Begin by re-suiting the deck. Number the $124$ cards $0$ through $123$. Give
each card $c$ a ``suit'' $s = c \bmod 4$—four suits, just as in a real deck—and
a ``rank'' $r = \lfloor c/4 \rfloor$, the whole-number part of $c/4$, which runs
from $0$ to $30$. Then $c = 4r + s$, and each suit holds exactly $124/4 = 31$
cards. The architecture is identical to a standard deck; only the number of
ranks per suit has changed, from $13$ to $31$ (Figure~\ref{fig:resuit}).
\begin{figure}[t]
\centering
\begin{tikzpicture}[x=1cm,y=1cm]
\foreach \s in {0,1,2,3}{
\node[font=\scriptsize\bfseries, text=magHighlight] at (\s,0.46) {$\equiv\s$};
}
\node[font=\scriptsize, text=black!55] at (-0.82,0.46) {$r$};
\foreach \r in {0,...,30}{
\node[font=\scriptsize, text=black!55] at (-0.82,{-\r*0.44}) {\r};
\foreach \s/\tint/\tc in {0/0/black,1/20/black,2/42/black,3/64/white}{
\pgfmathtruncatemacro{\num}{4*\r+\s}
\fill[magHighlight!\tint] (\s-0.46,{-\r*0.44-0.2}) rectangle (\s+0.46,{-\r*0.44+0.2});
\draw[black!15, line width=0.2pt] (\s-0.46,{-\r*0.44-0.2}) rectangle (\s+0.46,{-\r*0.44+0.2});
\node[font=\scriptsize, text=\tc] at (\s,{-\r*0.44}) {\num};
}
}
\end{tikzpicture}
\caption{All $124$ numbers re-suited as $4\times 31$. Each row is one rank $r$
(the four consecutive numbers $\{4r,\dots,4r+3\}$); each column is one suit
$s = c \bmod 4$, shaded from white ($\equiv 0$) to blue ($\equiv 3$). Two cards
share a suit exactly when they lie in the same column.}
\label{fig:resuit}
\end{figure}
The pigeonhole argument needs no adjustment. Five cards arrive from four suits,
so at least two share a suit. Badarika picks any such pair: one will be hidden,
the other revealed first, announcing the suit to Aalaya—exactly as before.
Now the clock. The $31$ ranks sit on a clock face with $31$ marks
(Figure~\ref{fig:warmclock}). Because $31$ is odd, no two distinct marks sit
exactly opposite each other, so any two different ranks have a well-defined
shorter arc between them, always $1$ to $15$ steps. Badarika reveals the card she
counts from, call it $Y$, and hides the card $X$ that is $k$ steps clockwise
ahead, for some $k$ between $1$ and $15$. The card $Y$ announces the suit; the
remaining job is to transmit $k$.
\begin{figure}[t]
\centering
\begin{tikzpicture}[x=1cm,y=1cm]
\def\R{1.65}
\foreach \i in {0,...,30}{ \fill[black!35] ({90 - \i*360/31}:\R) circle (0.7pt); }
\node[circle, draw=magHighlight, fill=magHighlight!20, inner sep=0.8pt, font=\tiny\bfseries]
at ({90 - 0*360/31}:\R) {$Y$};
\node[circle, draw=magHighlight, fill=magHighlight!20, inner sep=0.8pt, font=\tiny\bfseries]
at ({90 - 8*360/31}:\R) {$X$};
\draw[magHighlight, line width=1pt, -{Stealth[length=4pt]}]
({90 - 0*360/31}:\R+0.33) arc[start angle={90 - 0*360/31}, end angle={90 - 8*360/31}, radius=\R+0.33];
\node[font=\scriptsize, text=magHighlight] at (2.25,1.5) {$k \leqslant 15$};
\end{tikzpicture}
\caption{The $31$ ranks of one suit, on a clock. Reveal $Y$ and hide the card
$X$ that is $k$ short steps ahead; since $31$ is odd, $k$ is always one of
$1,\dots,15$.}
\label{fig:warmclock}
\end{figure}
The three leftover cards carry this job partway. In the
agreed deck ordering they fall into Low, Medium, and High, and their six
arrangements code a number from $1$ to $6$: \textsf{LMH} means $1$, \textsf{LHM}
$2$, \textsf{MLH} $3$, \textsf{MHL} $4$, \textsf{HLM} $5$, \textsf{HML} $6$. That
was the complete mechanism from the basic trick. The trouble here is that $k$ can
reach $15$, and six arrangements reach only $6$.
So here we are going to cheat a bit. Lay the three cards along a straight line: say the near edge of the table. Now add a second signal --- either leave
all three flush against the baseline, or nudge exactly one of them slightly
forward (Figure~\ref{fig:warmnudge}). So we have four physical states in all—no nudge, or
the first, second, or third card nudged—carry addends of $0$, $6$, $7$, and
$12$. Aalaya reads the arrangement for a number from $1$ to $6$, reads the
nudge for an addend, and adds them.
\begin{figure}[H]
\centering
\begin{tikzpicture}[x=1cm,y=1cm,scale=1.2]
% +0 : all flush
\draw[black!35,dashed,line width=0.5pt] (-0.35,0) -- (1.55,0);
\node[font=\scriptsize,text=magHighlight] at (-0.72,0.24) {$+0$};
\draw[cardframe,fill=white] (-0.18,0) rectangle (0.18,0.48);
\draw[cardframe,fill=white] (0.42,0) rectangle (0.78,0.48);
\draw[cardframe,fill=white] (1.02,0) rectangle (1.38,0.48);
% +6 : first raised
\draw[black!35,dashed,line width=0.5pt] (-0.35,-0.95) -- (1.55,-0.95);
\node[font=\scriptsize,text=magHighlight] at (-0.72,-0.71) {$+6$};
\draw[cardframe,fill=magHighlight!18] (-0.18,-0.77) rectangle (0.18,-0.29);
\draw[cardframe,fill=white] (0.42,-0.95) rectangle (0.78,-0.47);
\draw[cardframe,fill=white] (1.02,-0.95) rectangle (1.38,-0.47);
% +7 : second raised
\draw[black!35,dashed,line width=0.5pt] (-0.35,-1.9) -- (1.55,-1.9);
\node[font=\scriptsize,text=magHighlight] at (-0.72,-1.66) {$+7$};
\draw[cardframe,fill=white] (-0.18,-1.9) rectangle (0.18,-1.42);
\draw[cardframe,fill=magHighlight!18] (0.42,-1.72) rectangle (0.78,-1.24);
\draw[cardframe,fill=white] (1.02,-1.9) rectangle (1.38,-1.42);
% +12 : third raised
\draw[black!35,dashed,line width=0.5pt] (-0.35,-2.85) -- (1.55,-2.85);
\node[font=\scriptsize,text=magHighlight] at (-0.72,-2.61) {$+12$};
\draw[cardframe,fill=white] (-0.18,-2.85) rectangle (0.18,-2.37);
\draw[cardframe,fill=white] (0.42,-2.85) rectangle (0.78,-2.37);
\draw[cardframe,fill=magHighlight!18] (1.02,-2.67) rectangle (1.38,-2.19);
\end{tikzpicture}
\caption{The nudge channel. All three cards resting on the baseline means add
$0$; lifting the first, second, or third card slightly means add $6$, $7$, or
$12$.}
\label{fig:warmnudge}
\end{figure}
The arrangement picks a row of the table below and the nudge picks a column; the
two add to give $k$.
\begin{center}\small
\setlength{\extrarowheight}{1pt}
\begin{tabular}{r|cccc}
& $+0$ & $+6$ & $+7$ & $+12$\\\hline
\textsf{LMH} $=1$ & $1$ & $7$ & $8$ & $13$\\
\textsf{LHM} $=2$ & $2$ & $8$ & $9$ & $14$\\
\textsf{MLH} $=3$ & $3$ & $9$ & $10$ & $15$\\
\textsf{MHL} $=4$ & $4$ & $10$ & $11$ & \textcolor{black!40}{$16$}\\
\textsf{HLM} $=5$ & $5$ & $11$ & $12$ & \textcolor{black!40}{$17$}\\
\textsf{HML} $=6$ & $6$ & $12$ & $13$ & \textcolor{black!40}{$18$}
\end{tabular}
\end{center}
The four addends do exactly what you want: $0$, $6$, $7$, and $12$, one per
nudge option. Adding $0$ covers arrangement values $1$ through $6$; adding $6$
covers $7$ through $12$; adding $7$ covers $8$ through $13$; adding $12$ covers
$13$ through $18$. Together these ranges blanket every $k$ from $1$ to $15$.
Values $8$ through $13$ are each reachable two ways, a harmless overlap, and the
few totals above $15$ (greyed in the table) are quiet ghosts, since $k$ never
reaches them.
If the choice of $12$ seems a bit abrupt, you could also instead use the addends $0$, $6$, $7$, $8$. This will top out at $14$, but you can still handle
$k=15$ with a flourish: lay the suit card face up and turn the other three face down, with an agreement beforehand that this special arrangement conveys a gap of $15$. Make some banter about how you don't even need all the four cards, and your magic senses feel especially powerful today.
Let's work out a couple of examples. Suppose the five cards are $7,19,50,88,103$. Their
remainders mod $4$ are $3,3,2,0,3$, so Badarika works in suit $3$ with the pair
$7$ and $19$. Their ranks are $1$ and $4$ (since $7 = 4\cdot 1 + 3$ and
$19 = 4\cdot 4 + 3$), so $k=3$—comfortably within the honest range. She reveals
$7$ and places the leftover cards $50,88,103$ in \textsf{MLH} order, that is
$88,50,103$, all flush to the baseline. Aalaya sees $7$ followed by
$88,50,103$, reads suit $3$, rank $1$, no nudge, \textsf{MLH} $=3$, so $k=3$, and
the hidden card sits at rank $1+3=4$ in suit $3$: that is $4\cdot 4 + 3 = 19$.
Now let's try a scenario involving a nudge. Take the hand $2,34,11,60,99$. Cards $2$ and $34$ share suit $2$;
their ranks are $0$ and $8$, giving $k=8$. The arrangement alone reaches only
$6$, so Badarika combines: \textsf{LHM} encodes $2$, and nudging the first leftover
card adds $6$, giving $2+6=8$. The leftover cards $11,60,99$ in \textsf{LHM}
order are $11,99,60$, with the $11$ nudged forward. Aalaya reads suit $2$,
rank $0$, a first-card nudge ($+6$), \textsf{LHM} $=2$, and concludes $k=8$: the
hidden card is rank $8$ in suit $2$, which is $4\cdot 8 + 2 = 34$.
Note that performing this does not even need a deck of cards! Five numbers from $0$ to $123$ are called out, and
Badarika jots them in a notebook. She writes four of
them, in order, on a board or a sheet of paper that everyone can see, and writes
the hidden one on a small folded slip set aside as a \emph{prediction}.
physical nudge becomes a faint written mark instead—an underline, a dot, a
casual scrawl—under exactly one of the three arrangement numbers (never the
suit-giver), or under none. Aalaya walks in, reads the four numbers and the
single mark (or notes the absence of it), names the hidden value, and the slip is opened to confirm.
If you work with the scheme of adding $6, 7, 8$ then to communicate a 15, you can write the four numbers in any order, then make a cheesy remark along the lines of the prediction sharing a
``very special connection'' with one of these numbers, followed by erasing the three irrelevant numbers, and again you are done.
\begin{artprobox}
Suppose you are the assistant and the five numbers handed to you are $10,\ 2,\ 99,\ 42,\ 115$. What will you hide? What will you write?
\end{artprobox}
\begin{artprobox}
Suppose you are the magician and you find that the four numbers written in a row are
$46,\ 17,\ 5,\ 88$, and the $5$ is underlined. You are the magician: name the
hidden number.
% \footnote{$46$ has suit $46 \bmod 4 = 2$ and rank
% $\lfloor 46/4\rfloor = 11$. The underline sits under the \emph{second} of the
% three numbers, so add $7$; and $17,5,88$ read as \textsf{MLH} $=3$. Thus
% $k = 3+7 = 10$, the hidden rank is $11+10 = 21$, and the card is
% $4\cdot 21 + 2 = 86$.}
\end{artprobox}
Now: can we avoid the cheating? Imagine you had to perform this over a phone call to the magician, who's on speaker. Then you only have the order to work with, since using tonality of voice to communicate nudges is too unreliable, and coughing is suspicious. In a follow up article, we'll see how to work this magic with no cheating at all. Stay tuned!
{\small
\vskip 0.05in
\affiliation[1.6em]{Associate Professor, CSE; IIT Gandhinagar}
\email{neeldhara.misra@gmail.com}
}
\end{document}