Permutation sequence generated by the "evil numbers" (A001969), by swapping n-th natural number by the (n-g)-th sequentially (iteratively), where g=min(evil(n+1)-evil(n)-1,n-1).

A129674

Permutation sequence generated by the "evil numbers" (A001969), by swapping n-th natural number by the (n-g)-th sequentially (iteratively), where g=min(evil(n+1)-evil(n)-1,n-1).

Terms

    a(0) =3a(1) =2a(2) =1a(3) =6a(4) =4a(5) =7a(6) =5a(7) =10a(8) =8a(9) =12a(10) =11a(11) =13a(12) =15a(13) =14a(14) =9a(15) =18a(16) =16a(17) =20a(18) =19a(19) =21a(20) =17a(21) =24a(22) =22a(23) =25a(24) =27a(25) =26a(26) =23a(27) =30a(28) =28a(29) =31

External references