|
| 1 | +Begin in state A. |
| 2 | +Perform a diagnostic checksum after 12173597 steps. |
| 3 | + |
| 4 | +In state A: |
| 5 | + If the current value is 0: |
| 6 | + - Write the value 1. |
| 7 | + - Move one slot to the right. |
| 8 | + - Continue with state B. |
| 9 | + If the current value is 1: |
| 10 | + - Write the value 0. |
| 11 | + - Move one slot to the left. |
| 12 | + - Continue with state C. |
| 13 | + |
| 14 | +In state B: |
| 15 | + If the current value is 0: |
| 16 | + - Write the value 1. |
| 17 | + - Move one slot to the left. |
| 18 | + - Continue with state A. |
| 19 | + If the current value is 1: |
| 20 | + - Write the value 1. |
| 21 | + - Move one slot to the right. |
| 22 | + - Continue with state D. |
| 23 | + |
| 24 | +In state C: |
| 25 | + If the current value is 0: |
| 26 | + - Write the value 1. |
| 27 | + - Move one slot to the right. |
| 28 | + - Continue with state A. |
| 29 | + If the current value is 1: |
| 30 | + - Write the value 0. |
| 31 | + - Move one slot to the left. |
| 32 | + - Continue with state E. |
| 33 | + |
| 34 | +In state D: |
| 35 | + If the current value is 0: |
| 36 | + - Write the value 1. |
| 37 | + - Move one slot to the right. |
| 38 | + - Continue with state A. |
| 39 | + If the current value is 1: |
| 40 | + - Write the value 0. |
| 41 | + - Move one slot to the right. |
| 42 | + - Continue with state B. |
| 43 | + |
| 44 | +In state E: |
| 45 | + If the current value is 0: |
| 46 | + - Write the value 1. |
| 47 | + - Move one slot to the left. |
| 48 | + - Continue with state F. |
| 49 | + If the current value is 1: |
| 50 | + - Write the value 1. |
| 51 | + - Move one slot to the left. |
| 52 | + - Continue with state C. |
| 53 | + |
| 54 | +In state F: |
| 55 | + If the current value is 0: |
| 56 | + - Write the value 1. |
| 57 | + - Move one slot to the right. |
| 58 | + - Continue with state D. |
| 59 | + If the current value is 1: |
| 60 | + - Write the value 1. |
| 61 | + - Move one slot to the right. |
| 62 | + - Continue with state A. |
| 63 | + |
0 commit comments