30.11.2012 Views

Code and ciphers: Julius Caesar, the Enigma and the internet

Code and ciphers: Julius Caesar, the Enigma and the internet

Code and ciphers: Julius Caesar, the Enigma and the internet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2 (Number of possible transposition boxes)<br />

In <strong>the</strong> particular case of nine letters in three columns <strong>the</strong> possibilities<br />

are:<br />

7, 1, 1; 1, 7, 1; 1, 1, 7;<br />

6, 2, 1; 6, 1, 2; 2, 6, 1; 2, 1, 6; 1, 6, 2; 1, 2, 6;<br />

5, 3, 1; 5, 1, 3; 3, 5, 1; 3, 1, 5; 1, 5, 3; 1, 3, 5;<br />

5, 2, 2; 2, 5, 2; 2, 2, 5;<br />

4, 4, 1; 4, 1, 4; 1, 4, 4;<br />

4, 3, 2; 4, 2, 3; 3, 4, 2; 3, 2, 4; 2, 4, 3; 2, 3, 4;<br />

3, 3, 3.<br />

A total of 28 (no column of <strong>the</strong> box is allowed to have 0 letters).<br />

This is a particular case of a more general problem:<br />

In how many ways can n be represented as <strong>the</strong> sum of k positive<br />

integers when <strong>the</strong> order of <strong>the</strong> integers is relevant?<br />

It can be shown (see M18) that <strong>the</strong> number is<br />

(n � 1)!<br />

(k � 1)!(n � k)!<br />

Putting n�9 <strong>and</strong> k�3 gives us<br />

8! 8�7<br />

�<br />

2!6! 2<br />

�28.<br />

When n�35 <strong>and</strong> k�5 <strong>the</strong> corresponding figure is (34�33�32�31)/24<br />

�46 376.<br />

4.3 (Boustrophedon rows in a transposition box)<br />

Alternate vertical digraphs at <strong>the</strong> ends of <strong>the</strong> rows will be unaltered in <strong>the</strong><br />

cipher text.<br />

Chapter 5<br />

5.1 (MDTM)<br />

The cipher text is<br />

CFIGS FLTBC XKEEA EBHTB GLDPI<br />

<strong>and</strong> <strong>the</strong> 5�5 substitution box is shown in Table S.3.<br />

Solutions to problems 221

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!