A327536 Number of divisors of n that are 1, prime, or whose prime indices are relatively prime.
1, 2, 2, 3, 2, 4, 2, 4, 2, 4, 2, 6, 2, 4, 4, 5, 2, 5, 2, 6, 3, 4, 2, 8, 2, 4, 2, 6, 2, 8, 2, 6, 4, 4, 4, 8, 2, 4, 3, 8, 2, 7, 2, 6, 5, 4, 2, 10, 2, 5, 4, 6, 2, 6, 4, 8, 3, 4, 2, 12, 2, 4, 3, 7, 3, 8, 2, 6, 4, 8, 2, 11, 2, 4, 5, 6, 4, 7, 2, 10, 2, 4, 2, 11, 4
Offset: 1
Keywords
Examples
The divisors of 63 that are 1, prime, or whose prime indices are relatively prime are {1, 3, 7}, so a(63) = 3.
Links
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Divisors[n],#==1||PrimeQ[#]||GCD@@PrimePi/@First/@FactorInteger[#]==1&]],{n,100}]
Comments