Consider a permutation K = (k(1),k(2),...,k(A000005(n))) of the positive divisors of n. Consider the partial sums S = Sum_{j=1..m} k(j), 1 <= m <= A000005(n). Then a(n) is the maximum number, for any permutation K, of partial sums S that are coprime to n.

A151613

Consider a permutation K = (k(1),k(2),...,k(A000005(n))) of the positive divisors of n. Consider the partial sums S = Sum_{j=1..m} k(j), 1 <= m <= A000005(n). Then a(n) is the maximum number, for any permutation K, of partial sums S that are coprime to n.

Terms

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

External references