login
A383762
The number of unitary divisors of n that are exponentially squarefree numbers.
3
1, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 4, 1, 2, 4, 2, 4, 4, 4, 2, 4, 2, 4, 2, 4, 2, 8, 2, 2, 4, 4, 4, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 2, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 8, 2, 4, 4, 2, 4, 8, 2, 4, 4, 8, 2, 4, 2, 4, 4, 4, 4, 8, 2, 2, 1, 4, 2, 8, 4, 4, 4
OFFSET
1,2
COMMENTS
First differs from A365499 at n = 32.
The sum of these divisors is A383763(n) and the largest of them is A383764(n).
LINKS
FORMULA
Multiplicative with a(p^e) = 2 if e is squarefree (A005117), and 1 otherwise.
a(n) <= A034444(n), with equality if and only if n is an exponentially squarefree number (A209061).
a(n) <= A365680(n), with equality if and only if n is a squarefree number.
MATHEMATICA
f[p_, e_] := If[SquareFreeQ[e], 2, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x -> if(issquarefree(x), 2, 1), factor(n)[, 2]));
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, May 09 2025
STATUS
approved