From: Periodic characteristics of the Josephus ring and its application in image scrambling
Value of step | New sequence \( {B}_{n_1} \) generated after one Josephus cycle (t) from original sequence A n | Period of Josephus cycle (t) | |||
---|---|---|---|---|---|
1 | 1 | 2 | 3 | 4 | 1 |
2 | 2 | 4 | 3 | 1 | 3 |
3 | 3 | 2 | 4 | 1 | 3 |
4 | 4 | 1 | 3 | 2 | 3 |
5 | 1 | 3 | 4 | 2 | 3 |
6 | 2 | 1 | 4 | 3 | 2 |
7 | 3 | 4 | 1 | 2 | 2 |
8 | 4 | 2 | 1 | 3 | 3 |
9 | 1 | 4 | 2 | 3 | 3 |
10 | 2 | 3 | 1 | 4 | 3 |
11 | 3 | 1 | 2 | 4 | 3 |
12 | 4 | 3 | 2 | 1 | 2 |
13 | 1 | 2 | 3 | 4 | 1 |
... | ... | ... | ... | ... | ... |