a(n) = the smallest integer > n that has yet to occur in the sequence, and that is not coprime to n.

A162600

a(n) = the smallest integer > n that has yet to occur in the sequence, and that is not coprime to n.

Terms

    a(0) =4a(1) =6a(2) =8a(3) =10a(4) =9a(5) =14a(6) =12a(7) =15a(8) =16a(9) =22a(10) =18a(11) =26a(12) =20a(13) =21a(14) =24a(15) =34a(16) =27a(17) =38a(18) =25a(19) =28a(20) =30a(21) =46a(22) =32a(23) =35a(24) =36a(25) =33a(26) =40a(27) =58a(28) =39a(29) =62

External references