login
A381403
a(n) is the mode of the multiset of bases and exponents (including exponents = 1) in the prime factorization of n (using smallest mode if multimodal).
3
1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 3, 2, 1, 3, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
2,3
FORMULA
a(p) = 1, for p prime.
EXAMPLE
The prime factorization of 132 is 2^2*3^1*11^1, the multiset of these bases and exponents is {1, 1, 2, 2, 3, 11} and its smallest most frequent element is 1.
MATHEMATICA
A381403[n_] := Min[Commonest[Flatten[FactorInteger[n]]]];
Array[A381403, 100, 2]
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Paolo Xausa, Feb 27 2025
STATUS
approved