A374538 a(n) is the sum of the squares of the unitary divisors of n that are exponentially odd numbers (A268335).
1, 5, 10, 1, 26, 50, 50, 65, 1, 130, 122, 10, 170, 250, 260, 1, 290, 5, 362, 26, 500, 610, 530, 650, 1, 850, 730, 50, 842, 1300, 962, 1025, 1220, 1450, 1300, 1, 1370, 1810, 1700, 1690, 1682, 2500, 1850, 122, 26, 2650, 2210, 10, 1, 5, 2900, 170, 2810, 3650, 3172
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
f[p_, e_] := 1 + If[OddQ[e], p^(2*e), 0]; a[n_] := Times @@ f @@@ FactorInteger[n]; a[1] = 1; Array[a, 100]
-
PARI
a(n) = {my(f = factor(n)); prod(i = 1, #f~, 1 + if(f[i, 2]%2, f[i, 1]^(2*f[i, 2]), 0));}
Formula
a(n) >= 1 with equality if and only if n is a square (A000290).
Multiplicative with a(p^e) = p^(2*e) + 1 if e is odd, and 1 otherwise.
Dirichlet g.f.: zeta(s) * zeta(2*s-4) * Product_{p prime} (1 + 1/p^(s-2) - 1/p^(2*s-4) - 1/p^(2*s-2)).
Sum_{k=1..n} a(k) ~ c * n^3 / 3, where c = zeta(2) * zeta(3) * Product_{p prime} (1 - 2/p^2 + 1/p^3 - 1/p^4 + 1/p^5) = 0.79482441214759383925... .
Comments