A363127 Number of non-modes in the multiset of prime factors of n.
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0
Offset: 1
Keywords
Examples
The prime factorization of 13860 is 2*2*3*3*5*7*11, with non-modes {5,7,11}, so a(13860) = 3.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
f:= proc(n) local F,m; F:= ifactors(n)[2][..,2]; m:= max(F); nops(select(`<`,F,m)) end proc; map(f, [$1..100]); # Robert Israel, Aug 01 2025
-
Mathematica
prifacs[n_]:=If[n==1,{},Flatten[ConstantArray@@@FactorInteger[n]]]; nmsi[ms_]:=Select[Union[ms],Count[ms,#]
Comments