which has been coded by using the equation: $$C=7P + 17 \pmod
{26}$$ where $C$ is the cipher value of the corresponding $P$ and
$P$ represents the letters of the alphabet taking $a=0,\ b=1,\
c=2,\ ...$ to $z=25$.
Solving this equation for $P$ gives $$P={1\over 7}C - {17\over 7}
\pmod{26}.$$ Using the reverse of the multiplication table mod 26,
I found: $$P = 15C - 21 = 15 C + 5 \pmod{26} \quad (1)$$ Performing
the operations in equation (1) using the properties of arithmetic
operations mod 26, I found the following sequence of numbers 19, 7,
4, 12, 14, 18, 19, 8, 13, 2, 14, 12, 15, 17, 4, 7, 4, 13, 18, 8, 1,
11, 4, 19, 7, 8, 13, 6, 26, 1, 14, 20, 19,19, 7, 4, 22, 14, 17, 11,
3, 8, 18, 19, 7, 26, 19, 26, 18, 2, 14, 12, 15, 17, 4, 7, 4, 13,
18, 8, 1, 11, 4. These, transformed into words, produced the
following message:
"The most incomprehensible thing about the world is that it is
comprehensible".
In turn 4 people throw away three nuts from a pile and hide a
quarter of the remainder finally leaving a multiple of 4 nuts. How
many nuts were at the start?