This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A358039 #26 Aug 06 2024 02:11:46 %S A358039 1,1,2,2,4,2,6,6,4,10,4,12,6,8,16,6,18,8,12,10,22,20,12,12,28,8,30,20, %T A358039 16,24,12,36,18,24,40,12,42,20,24,22,46,42,20,32,24,52,40,36,28,58,16, %U A358039 60,30,36,48,20,66,32,44,24,70,72,36,40,36,60,24,78,40 %N A358039 a(n) is the Euler totient function phi applied to the n-th cubefree number. %C A358039 The analogous sequence with squarefree numbers is A049200. %H A358039 Amiram Eldar, <a href="/A358039/b358039.txt">Table of n, a(n) for n = 1..10000</a> %H A358039 Zhu Weiyi, <a href="https://fs.unm.edu/SNJ/OnTheCubeFreeNumberSequence.pdf">On the cube free number sequences</a>, Smarandache Notions J., Vol. 14 (2004), pp. 199-202. %F A358039 a(n) = A000010(A004709(n)). %F A358039 Sum_{k=1..n} a(k) = (c/(2*zeta(3)))*n^2 + O(n^(3/2+eps)), where c = Product_{p prime} (1 - (p+1)/(p^3+p^2+1)) = 0.62583324412633345811... (Weiyi, 2004). %F A358039 From _Amiram Eldar_, Oct 09 2023: (Start) %F A358039 Sum_{n>=1} 1/(A004709(n)*a(n)) = Product_{p prime} (1 + (p^2+1)/((p-1)*p^3)) = 2.14437852780769816048... . %F A358039 Sum_{n>=1} 1/a(n)^2 = Product_{p prime} (1 + (p^2+1)/((p-1)^2*p^2)) = 3.26032746607943673536... . (End) %t A358039 EulerPhi[Select[Range[100], Max[FactorInteger[#][[;; , 2]]] < 3 &]] %o A358039 (Python) %o A358039 from sympy import mobius, integer_nthroot, totient %o A358039 def A358039(n): %o A358039 def f(x): return n+x-sum(mobius(k)*(x//k**3) for k in range(1, integer_nthroot(x,3)[0]+1)) %o A358039 m, k = n, f(n) %o A358039 while m != k: %o A358039 m, k = k, f(k) %o A358039 return totient(m) # _Chai Wah Wu_, Aug 06 2024 %Y A358039 Cf. A000010, A002117, A004709, A049200, A358040. %K A358039 nonn %O A358039 1,3 %A A358039 _Amiram Eldar_, Oct 29 2022