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 the original sequence A n | Period of Josephus cycle (t) | ||||||
---|---|---|---|---|---|---|---|---|
1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 1 |
2 | 2 | 4 | 6 | 1 | 5 | 3 | 7 | 6 |
3 | 3 | 6 | 2 | 7 | 5 | 1 | 4 | 4 |
4 | 4 | 1 | 6 | 5 | 7 | 3 | 2 | 10 |
... | ... | ... | ... | ... | ... | ... | ... | ... |
421 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 1 |