a(n) = the smallest positive integer not yet in the sequence that is neither coprime to n nor to n+1.

A164378

a(n) = the smallest positive integer not yet in the sequence that is neither coprime to n nor to n+1.

Terms

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

External references