OFFSET
1,2
COMMENTS
Multiplicative because A359581 is.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
a(n) = Sum_{d|n} A359581(d).
From Amiram Eldar, Oct 23 2023: (Start)
Multiplicative with a(p^e) = e+1 if A329697(p) is even, and if A329697(p) is odd, 0 if e is odd and 1 if e is even.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Product_{p prime} p/(p-(-1)^A329697(p)) = 1.4128... . (End)
MATHEMATICA
A329697[n_] := Length@ NestWhileList[# - #/FactorInteger[#][[-1, 1]] &, n, # != 2^IntegerExponent[#, 2] &] - 1;
f[p_, e_] := If[EvenQ[A329697[p]], e + 1, If[OddQ[e], 0, 1]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 23 2023 *)
PROG
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Jan 07 2023
STATUS
approved