login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A325660
Number of ones in the q-signature of n.
6
0, 1, 2, 0, 3, 1, 1, 0, 0, 2, 4, 1, 2, 1, 1, 0, 2, 0, 1, 2, 2, 3, 1, 1, 0, 2, 0, 1, 3, 1, 5, 0, 2, 2, 3, 0, 2, 1, 1, 2, 3, 2, 2, 3, 1, 1, 2, 1, 0, 0, 3, 2, 1, 0, 1, 1, 2, 3, 3, 1, 1, 4, 1, 0, 2, 2, 2, 2, 1, 3, 3, 0, 3, 2, 0, 1, 4, 1, 4, 2, 0, 3, 2, 2, 4, 2, 2
OFFSET
1,3
COMMENTS
Every positive integer has a unique q-factorization (encoded by A324924) into factors q(i) = prime(i)/i, i > 0. For example:
11 = q(1) q(2) q(3) q(5)
50 = q(1)^3 q(2)^2 q(3)^2
360 = q(1)^6 q(2)^3 q(3)
Then a(n) is the number of factors of multiplicity one in the q-factorization of n.
Also the number of rooted trees appearing only once in the multiset of terminal subtrees of the rooted tree with Matula-Goebel number n.
MATHEMATICA
difac[n_]:=If[n==1, {}, With[{i=PrimePi[FactorInteger[n][[1, 1]]]}, Sort[Prepend[difac[n*i/Prime[i]], i]]]];
Table[Count[Length/@Split[difac[n]], 1], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 13 2019
STATUS
approved