login
A357879
Number of divisors of n with the same sum of prime indices as their quotient. Central column of A321144, taking gaps as 0's.
13
1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2
OFFSET
1,12
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
FORMULA
a(n) = Sum_{d|n} [A056239(d) = A056239(n/d)], where [ ] is the Iverson bracket. - Antti Karttunen, Jan 20 2025
EXAMPLE
The a(3600) = 5 divisors, their prime indices, and the prime indices of their quotients:
45: {2,2,3} * {1,1,1,1,3}
50: {1,3,3} * {1,1,1,2,2}
60: {1,1,2,3} * {1,1,2,3}
72: {1,1,1,2,2} * {1,3,3}
80: {1,1,1,1,3} * {2,2,3}
MATHEMATICA
sumprix[n_]:=Total[Cases[FactorInteger[n], {p_, k_}:>k*PrimePi[p]]];
Table[Length[Select[Divisors[n], sumprix[#]==sumprix[n]/2&]], {n, 100}]
PROG
(PARI)
A056239(n) = if(1==n, 0, my(f=factor(n)); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1])));
A357879(n) = sumdiv(n, d, A056239(d)==A056239(n/d)); \\ Antti Karttunen, Jan 20 2025
CROSSREFS
Positions of nonzero terms are A357976, counted by A002219.
A001222 counts prime factors, distinct A001221.
A056239 adds up prime indices, row sums of A112798.
Sequence in context: A319581 A331302 A062977 * A072325 A294929 A076948
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 27 2022
EXTENSIONS
Data section extended to a(108) by Antti Karttunen, Jan 20 2025
STATUS
approved