De Bruijn sequences: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added a programming note.)
m (simplified the making the sequence invalid (part of the last task requirement).)
Line 63: Line 63:
:*   Reverse the de Bruijn sequence.
:*   Reverse the de Bruijn sequence.
:*   Again, perform the (above) verification test.
:*   Again, perform the (above) verification test.
:* &nbsp; Extract the 4,444<sup>th</sup> digit from the original de Bruijn sequence.
:* &nbsp; Replace the 4,444<sup>th</sup> digit with a period (.) in the original de Bruijn sequence.
:::* &nbsp; Add &nbsp; '''1''' &nbsp; (unity) to that digit, &nbsp; and take the right-most digit of that sum.
:::* &nbsp; Replace the original digit with the above digit &nbsp; (in the de Bruijn sequence).
:::* &nbsp; Perform the verification test (again). &nbsp; There should be several PIN codes missing.
:::* &nbsp; Perform the verification test (again). &nbsp; There should be several PIN codes missing.