% !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} TBD. \vspace{14em} \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. These five cards could be cards from a standard deck of 52 cards, or cards from a deck of 124 cards. Last time, we saw how to work with 124 cards if we were allowed a physical gimmick. This time we'll see how to pull off the trick fair and square: so it's doable even over a phone call, where the assistant has to rely purely on card order and no extra signals. \section*{A Recipe for 124 Cards} So here is our upgrade to the pro version of this trick. Let's discuss the encoding first. When Badarika receives five cards, she sorts them mentally into increasing order and assigns them positions $0,1,2,3,4$ from smallest to largest. She adds all five card-numbers together, divides by $5$, and notes the remainder; call it $i$. \emph{She hides the card in position $i$} and lays the other four face-up in a carefully chosen order. That is the complete hiding rule. The reason this choice is clever comes down to a small bookkeeping trick. Write the sorted hand as \[ c_0