a(n) = gcd(Product_{p|n} (p+1)^b(p,n), Product_{p|n} (p-1)^b(p,n)), where the products are over the distinct primes, p, that divide n and p^b(p,n) is the highest power of p dividing n.

A126865

a(n) = gcd(Product_{p|n} (p+1)^b(p,n), Product_{p|n} (p-1)^b(p,n)), where the products are over the distinct primes, p, that divide n and p^b(p,n) is the highest power of p dividing n.

Terms

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

External references