a(n) is the smallest positive integer such that Sum_{1<=k<=a(n), gcd(k,n)=1} k is >= n.

A125748

a(n) is the smallest positive integer such that Sum_{1<=k<=a(n), gcd(k,n)=1} k is >= n.

Terms

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

External references