|
|
A346403
|
|
a(1)=1; for n>1, a(n) gives the sum of the exponents in the different ways to write n as n = x^y, 2 <= x, 1 <= y.
|
|
1
|
|
|
1, 1, 1, 3, 1, 1, 1, 4, 3, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 6, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
Denoted by tau(n) in Mycielski (1951), Fehér et al. (2006), and Awel and Küçükaslan (2020).
This function depends only on the prime signature of n (see the Formula section).
|
|
LINKS
|
|
|
FORMULA
|
If n = Product_{i} p_i^e_i, then a(n) = sigma(gcd(<e_i>)).
Sum_{n>=1} (a(n)-1)/n = Pi^2/6 + 1 (= A013661 + 1) (Mycielski, 1951).
|
|
EXAMPLE
|
4 = 2^2, gcd(2) = 2, sigma(2) = 3, so a(4) = 3. The representations are 4^1 and 2^2, and 1 + 2 = 3.
144 = 2^4 * 3^2, gcd(4,2) = 2, sigma(2) = 3, so a(144) = 3. The representations are 144^1 and 12^2, and 1 + 2 = 3.
|
|
MATHEMATICA
|
a[n_] := DivisorSigma[1, GCD @@ FactorInteger[n][[;; , 2]]]; Array[a, 100]
|
|
PROG
|
(PARI) a(n) = if (n==1, 1, sigma(gcd(factor(n)[, 2]))); \\ Michel Marcus, Jul 16 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|