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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Verification<br />

Let <strong>the</strong> recurrence be<br />

U n �aU (n�1) �bU (n�2) �cU (n�3) �dU (n�4) �eU (n�5) .<br />

We number <strong>the</strong> bits 1 to 10 from left to right <strong>and</strong> put n�6, 7, 8, 9 <strong>and</strong> 10<br />

successively in <strong>the</strong> recurrence which yields <strong>the</strong> equations<br />

a � c � d � 1,<br />

a � b � d � e � 0,<br />

b � c � e � 1,<br />

a � c � d � 1,<br />

a � b � d � e � 0,<br />

which have two genuine sets of solutions of order 5 (that is, where e, <strong>the</strong><br />

coefficient of U (n�5) , is not zero):<br />

<strong>and</strong><br />

a�b�c�0, d�e�1<br />

a�d�0, b�c�e�1.<br />

The two linear recurrences of order 5 are <strong>the</strong>refore<br />

<strong>and</strong><br />

U n �U (n�4) �U (n�5)<br />

U n �U (n�2) �U (n�3) �U (n�5) .<br />

In addition, <strong>the</strong>re are solutions where e�0, that is, solutions which are<br />

not of order 5, <strong>the</strong>se include<br />

a�b�1, c�d�e�0<br />

corresponding to <strong>the</strong> recurrence, which is of order 2,<br />

U n �U (n�1) �U (n�2) ,<br />

which reveals <strong>the</strong> fact that <strong>the</strong> binary sequence above is just that of <strong>the</strong><br />

Fibonacci numbers (mod 2).<br />

Example (No solution having <strong>the</strong> assumed order)<br />

Verify that <strong>the</strong> six-bit binary key<br />

011010<br />

cannot be generated by any binary linear recurrence of order 3.<br />

Ma<strong>the</strong>matical aspects 201

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

Saved successfully!

Ooh no, something went wrong!