OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p^e) = Sum_{d|e, bitor(d, e) == e} p^d.
a(n) >= n, with equality if and only if n is in A138302.
limsup_{n->oo} a(n)/n = Product_{p prime} (1 + 1/p^2) = 15/Pi^2 (A082020).
Sum_{k=1..n} a(k) ~ c * n^2, where c = (1/2) * Product_{p prime} ((1 - 1/p)*(1 + Sum_{e>=1} Sum_{d|e, bitor(d, e) == e} p^(d-2*e))) = 0.51015879911178031024... .
EXAMPLE
a(8) = 10 since 8 has 2 divisors that are both infinitary and exponential, 2 and 8, and 2 + 8 = 10.
MATHEMATICA
f[p_, e_] := DivisorSum[e, p^# &, BitOr[#, e] == e &]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) s(p, e) = sumdiv(e, d, p^d*(bitor(d, e) == e));
a(n) = {my(f = factor(n)); prod(i = 1, #f~, s(f[i, 1], f[i, 2])); }
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Mar 25 2023
STATUS
approved