a(1)=1. a(n) = number of positive integers that are < n, are coprime to n and do not occur among the first n-1 terms of the sequence.

A116537

a(1)=1. a(n) = number of positive integers that are < n, are coprime to n and do not occur among the first n-1 terms of the sequence.

Terms

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

External references