A380322 a(n) is the sum of exponentially odd divisors of n^2.
1, 3, 4, 11, 6, 12, 8, 43, 31, 18, 12, 44, 14, 24, 24, 171, 18, 93, 20, 66, 32, 36, 24, 172, 131, 42, 274, 88, 30, 72, 32, 683, 48, 54, 48, 341, 38, 60, 56, 258, 42, 96, 44, 132, 186, 72, 48, 684, 351, 393, 72, 154, 54, 822, 72, 344, 80, 90, 60, 264, 62, 96, 248
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
f[p_, e_] := (p^(2*e+1) - p)/(p^2 - 1) + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
-
PARI
a(n) = {my(f = factor(n), p, e); prod(i = 1, #f~, p = f[i, 1]; e = f[i, 2]; (p^(2*e+1) - p)/(p^2 - 1) + 1);}
Comments