Print the following permutation.
Equivalently, for every integer (), print and then .
For every , we have . Also, for , we have . Finally, .
The numbers , , and are all prime, so every adjacent cyclic sum is prime. The odd numbers and the even numbers are each used exactly once, so the printed sequence is a permutation of .
Solution written by GPT5.5