A356225 Number of divisors of n whose prime indices do not cover an initial interval of positive integers.
0, 0, 1, 0, 1, 1, 1, 0, 2, 2, 1, 1, 1, 2, 3, 0, 1, 2, 1, 3, 3, 2, 1, 1, 2, 2, 3, 3, 1, 4, 1, 0, 3, 2, 3, 2, 1, 2, 3, 4, 1, 5, 1, 3, 5, 2, 1, 1, 2, 4, 3, 3, 1, 3, 3, 4, 3, 2, 1, 5, 1, 2, 5, 0, 3, 5, 1, 3, 3, 6, 1, 2, 1, 2, 5, 3, 3, 5, 1, 5, 4, 2, 1, 7, 3, 2, 3
Offset: 1
Keywords
Examples
The a(70) = 6 divisors: 5, 7, 10, 14, 35, 70.
Crossrefs
Programs
-
Mathematica
primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; normQ[m_]:=m=={}||Union[m]==Range[Max[m]]; Table[Length[Select[Divisors[n],!normQ[primeMS[#]]&]],{n,100}]
Comments