Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #17 May 31 2023 15:39:20
%S 0,1,1,3,1,2,1,7,5,2,1,4,1,2,3,15,1,10,1,4,3,2,1,8,9,2,19,4,1,6,1,31,
%T 3,2,5,20,1,2,3,8,1,6,1,4,9,2,1,16,13,18,3,4,1,38,5,8,3,2,1,12,1,2,9,
%U 63,5,6,1,4,3,10,1,40,1,2,27,4,7,6,1,16,65,2
%N a(n) = n - A351168(n).
%F a(n) = n * (1 - ((A006530(n) - 1)/A006530(n))^A071178).
%t a[n_] := n - Module[{f = FactorInteger[n]}, n*(1 - 1/f[[-1, 1]])^f[[-1, 2]]]; a[1] = 0; Table[a[n], {n, 2, 83}] (* _Robert P. P. McKone_, Feb 11 2022, from _Amiram Eldar_ in A351168 *)
%Y Cf. A351168, A006530 (largest prime factor), A071178 (exponent).
%K nonn
%O 1,4
%A _Ben Polson_, Feb 11 2022