A366146 The sum of divisors of the largest divisor of n that is a cubefull number (A036966).
1, 1, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 1, 1, 31, 1, 1, 1, 1, 1, 1, 1, 15, 1, 1, 40, 1, 1, 1, 1, 63, 1, 1, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 1, 1, 31, 1, 1, 1, 1, 1, 40, 1, 15, 1, 1, 1, 1, 1, 1, 1, 127, 1, 1, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 1, 1, 31, 121, 1
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
f[p_, e_] := If[e < 3, 1, (p^(e+1)-1)/(p-1)]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
-
PARI
a(n) = {my(f = factor(n), p = f[, 1], e = f[, 2]); prod(i = 1, #p, if(e[i] < 3, 1, (p[i]^(e[i]+1)-1)/(p[i]-1)))};
Formula
a(n) >= 1, with equality if and only if n is cubefree (A004709).
Multiplicative with a(p^e) = 1 if e <= 2 and (p^(e+1)-1)/(p-1) otherwise.
Dirichlet g.f.: zeta(s-1) * zeta(s) * Product_{p prime} (1 - 1/p^(s-1) + 1/p^(3*s-3) + 1/p^(3*s-2) + 1/p^(3*s-1) - 1/p^(4*s-3) - 1/p^(4*s-2)).