login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A380323
The number of squares dividing the n-th exponentially odd number.
0
1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1
OFFSET
1,7
LINKS
FORMULA
a(n) = A046951(A268335(n)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = (zeta(2)^2/A065463) * Product_{p prime} (1 - 3/p^2 + 2/p^3 + 1/p^4 - 1/p^5) = 1.18554061321703126489... .
MATHEMATICA
f[p_, e_] := If[OddQ[e], (e + 1)/2, 0]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Array[s, 200], # > 0 &]
PROG
(PARI) s(n) = vecprod(apply(e -> if(e % 2, (e+1)/2, 0), factor(n)[, 2]));
list(lim) = select(x -> x > 0, vector(lim, i, s(i)));
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Amiram Eldar, Jan 20 2025
STATUS
approved