%I #12 Oct 10 2024 15:43:02
%S 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,4,1,1,
%T 1,3,1,1,1,5,1,1,1,1,1,1,1,6,1,1,1,1,1,3,1,7,1,1,1,5,1,1,1,8,1,1,1,1,
%U 1,1,1,9,1,1,1,1,1,1,1,10,3,1,1,7,1,1,1,11,1,5,1,1,1,1,1,12,1,1,1,5,1,1,1
%N a(n) = A032742(A032742(A032742(n))) = ((n/lpf(n))/lpf(n/lpf(n)))/lpf((n/lpf(n))/lpf(n/lpf(n))), where lpf=A020639, least prime factor.
%H Antti Karttunen, <a href="/A117358/b117358.txt">Table of n, a(n) for n = 1..65537</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/LeastPrimeFactor.html">Least Prime Factor</a>
%F a(n) = A032742(A032742(A032742(n))) = A032742(A054576(n)) = A054576(n)/A115561(n).
%F a(A037144(n)) = 1, a(A033987(n)) > 1.
%t f[n_] := n/FactorInteger[n][[1, 1]]; (* f is A032742 *)
%t a[n_] := f@ f@ f@ n;
%t Array[a, 100] (* _Jean-François Alcover_, Dec 09 2021 *)
%t Table[Nest[#/FactorInteger[#][[1,1]]&,n,3],{n,110}] (* _Harvey P. Dale_, Oct 10 2024 *)
%o (Scheme) (define (A117358 n) (A032742 (A032742 (A032742 n)))) ;; _Antti Karttunen_, Dec 07 2017
%Y Cf. A014673, A032742, A037144, A033987, A054576, A115561.
%K nonn
%O 1,16
%A _Reinhard Zumkeller_, Mar 10 2006