If n is prime replace with the n-th nonprime otherwise replace with the n-th prime.
A097457
If n is prime replace with the n-th nonprime otherwise replace with the n-th prime.
Terms
- a(0) =2a(1) =4a(2) =6a(3) =7a(4) =9a(5) =13a(6) =12a(7) =19a(8) =23a(9) =29a(10) =18a(11) =37a(12) =21a(13) =43a(14) =47a(15) =53a(16) =26a(17) =61a(18) =28a(19) =71a(20) =73a(21) =79a(22) =34a(23) =89a(24) =97a(25) =101a(26) =103a(27) =107a(28) =42a(29) =113
External references
- oeis: A097457