Beginning with the natural numbers, swap the k-th prime and k-th composite.

A026239

Beginning with the natural numbers, swap the k-th prime and k-th composite.

Terms

    a(0) =1a(1) =4a(2) =6a(3) =2a(4) =8a(5) =3a(6) =9a(7) =5a(8) =7a(9) =11a(10) =10a(11) =13a(12) =12a(13) =17a(14) =19a(15) =23a(16) =14a(17) =29a(18) =15a(19) =31a(20) =37a(21) =41a(22) =16a(23) =43a(24) =47a(25) =53a(26) =59a(27) =61a(28) =18a(29) =67

External references