a(1)=1. a(n) = smallest positive integer not occurring earlier in the sequence such that every positive integer <= and coprime to (sum{k=1 to n-1} a(k)) is also coprime to a(n).

A124652

a(1)=1. a(n) = smallest positive integer not occurring earlier in the sequence such that every positive integer <= and coprime to (sum{k=1 to n-1} a(k)) is also coprime to a(n).

Terms

    a(0) =1a(1) =2a(2) =3a(3) =4a(4) =5a(5) =9a(6) =6a(7) =8a(8) =16a(9) =12a(10) =11a(11) =7a(12) =14a(13) =28a(14) =18a(15) =24a(16) =21a(17) =27a(18) =32a(19) =31a(20) =81a(21) =10a(22) =20a(23) =13a(24) =169a(25) =22a(26) =33a(27) =19a(28) =17a(29) =39

External references