a(1) = 1; a(n) is the smallest number not yet used that is not relatively prime to n nor relatively prime to a(n-1).
A119018
a(1) = 1; a(n) is the smallest number not yet used that is not relatively prime to n nor relatively prime to a(n-1).
Terms
- a(0) =1a(1) =2a(2) =6a(3) =4a(4) =10a(5) =8a(6) =14a(7) =12a(8) =3a(9) =15a(10) =33a(11) =9a(12) =39a(13) =18a(14) =20a(15) =16a(16) =34a(17) =22a(18) =38a(19) =24a(20) =21a(21) =28a(22) =46a(23) =26a(24) =30a(25) =32a(26) =36a(27) =40a(28) =58a(29) =42
External references
- oeis: A119018