OFFSET
1,16
COMMENTS
The number of squares dividing the largest exponentially odd divisor of n is A325837(n).
The sum of the exponentially odd divisors of the largest square dividing n is A365334(n). [corrected, Sep 08 2023]
The number of exponentially odd divisors of the largest square dividing n is the same as the number of squares dividing n, A046951(n). - Amiram Eldar, Sep 08 2023
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[p_, e_] := Max[1, Floor[e/2]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x -> max(1, x\2), factor(n)[, 2]));
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Sep 01 2023
EXTENSIONS
Name corrected by Amiram Eldar, Sep 08 2023
STATUS
approved