a(1)=2. a(n) = the smallest integer > a(n-1) that is coprime to n, and is such that (a(n)-a(n-1)) is not a divisor of n.

A161889

a(1)=2. a(n) = the smallest integer > a(n-1) that is coprime to n, and is such that (a(n)-a(n-1)) is not a divisor of n.

Terms

    a(0) =2a(1) =5a(2) =7a(3) =13a(4) =16a(5) =23a(6) =25a(7) =31a(8) =35a(9) =39a(10) =41a(11) =49a(12) =51a(13) =55a(14) =59a(15) =65a(16) =67a(17) =71a(18) =73a(19) =79a(20) =83a(21) =87a(22) =89a(23) =103a(24) =106a(25) =109a(26) =113a(27) =121a(28) =123a(29) =127

External references