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 A355432 #49 Oct 25 2024 09:31:17 %S A355432 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0, %T A355432 0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0, %U A355432 0,0,0,2,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,4,0,2,0,2,0,0,0,0,0,0,0,4,0,0,0,1,0,0,0,0,0,0,0,1 %N A355432 a(n) = number of k < n such that rad(k) = rad(n) and k does not divide n, where rad(k) = A007947(k). %C A355432 a(n) = 0 for prime powers and squarefree numbers. %H A355432 Michael De Vlieger, <a href="/A355432/b355432.txt">Table of n, a(n) for n = 1..16384</a> %H A355432 Michael De Vlieger, <a href="/A355432/a355432_1.png">Plot (k, n) at (x, -y)</a>, k = 1..n, n = 1..54, showing k in A126706 in dark blue, n in A360768 in dark red, and for n and nondivisor k such that rad(k) = rad(n), we highlight in large black dots. This sequence counts the number of black dots in row n. %H A355432 Michael De Vlieger, <a href="/A355432/a355432_2.png">Condensation of the above plot</a>, showing k = 1..n and only n in A360768 and n <= 54. %F A355432 a(n) > 0 for n in A360768. %F A355432 a(n) < A243822(n) < A010846(n). %F A355432 a(n) = A008479(n) - A005361(n). - _Amiram Eldar_, Oct 25 2024 %e A355432 a(1) = 18, since 18/6 >= 3. We note that rad(12) = rad(18) = 6, yet 12 does not divide 18. %e A355432 a(2) = 24, since 24/6 >= 3. rad(18) = rad(24) = 6 and 24 mod 18 = 6. %e A355432 a(3) = 36, since 36/6 >= 3. rad(24) = rad(36) = 6 and 36 mod 24 = 12. %e A355432 a(6) = 54, since 54/6 >= 3. m in {12, 24, 36, 48} are such that rad(m) = rad(54) = 6, but none divides 54, etc. %t A355432 rad[n_] := rad[n] = Times @@ FactorInteger[n][[All, 1]]; Table[Which[PrimePowerQ[n], 0, SquareFreeQ[n], 0, True, r = rad[n]; Count[Select[Range[n], Nor[PrimePowerQ[#], SquareFreeQ[#]] &], _?(And[rad[#] == r, Mod[n, #] != 0] &)]], {n, 120}] %o A355432 (PARI) rad(n) = factorback(factorint(n)[, 1]); \\ A007947 %o A355432 a(n) = my(rn=rad(n)); sum(k=1, n-1, if (n % k, rad(k)==rn)); \\ _Michel Marcus_, Feb 23 2023 %Y A355432 Cf. A005361, A007947, A008479, A010846, A013929, A020639, A024619, A027750, A126706, A162306, A243822, A272618, A360589, A360768. %K A355432 nonn %O A355432 1,48 %A A355432 _Michael De Vlieger_, Feb 22 2023