Start with x=n, then iterate the map x -> A322982(x) with A322982(x)=2*x-1 if x is noncomposite, otherwise A322982(x) = A032742(x), the largest proper divisor of x. If this iteration leads to a fixed point then a(n) is the value of that fixed point. If the iteration leads to a cycle, a(n) is the smallest value in the cycle. If the iteration never becomes periodic then a(n)=0.
A087717
Start with x=n, then iterate the map x -> A322982(x) with A322982(x)=2*x-1 if x is noncomposite, otherwise A322982(x) = A032742(x), the largest proper divisor of x. If this iteration leads to a fixed point then a(n) is the value of that fixed point. If the iteration leads to a cycle, a(n) is the smallest value in the cycle. If the iteration never becomes periodic then a(n)=0.
Terms
- a(0) =1a(1) =3a(2) =3a(3) =3a(4) =3a(5) =3a(6) =3a(7) =3a(8) =3a(9) =3a(10) =3a(11) =3a(12) =3a(13) =3a(14) =3a(15) =3a(16) =3a(17) =3a(18) =19a(19) =3a(20) =3a(21) =3a(22) =3a(23) =3a(24) =3a(25) =3a(26) =3a(27) =3a(28) =19a(29) =3
External references
- oeis: A087717