a(n) = Sum_{k=1..d(n)-1} gcd(b(k), b(k+1)), where b(k) is the k-th positive divisor of n and d(n) is the number of positive divisors of n.

A136180

a(n) = Sum_{k=1..d(n)-1} gcd(b(k), b(k+1)), where b(k) is the k-th positive divisor of n and d(n) is the number of positive divisors of n.

Terms

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

External references