A327538 Number of steps to reach a fixed point starting with n and repeatedly taking the quotient by the maximum divisor that is 1, prime, or whose prime indices are relatively prime (A327535, A327537).
0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 2
Offset: 1
Keywords
Examples
We have 441 -> 63 -> 9 -> 3 -> 1, so a(441) = 4.
Links
Crossrefs
Programs
-
Mathematica
Table[Length[FixedPointList[#/Max[Select[Divisors[#],#==1||PrimeQ[#]||GCD@@PrimePi/@First/@FactorInteger[#]==1&]]&,n]]-2,{n,100}]
Formula
a(1) = 0; if n is prime or has relatively prime prime indices, then a(n) = 1; otherwise a(n) = Omega(n) = A001222(n).
Comments