cp's OEIS Frontend

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.

A369889 The sum of squarefree divisors of the cubefree numbers.

This page as a plain text file.
%I A369889 #39 Aug 12 2024 16:35:43
%S A369889 1,3,4,3,6,12,8,4,18,12,12,14,24,24,18,12,20,18,32,36,24,6,42,24,30,
%T A369889 72,32,48,54,48,12,38,60,56,42,96,44,36,24,72,48,8,18,72,42,54,72,80,
%U A369889 90,60,72,62,96,32,84,144,68,54,96,144,72,74,114,24,60,96,168
%N A369889 The sum of squarefree divisors of the cubefree numbers.
%C A369889 The number of squarefree divisors of the n-th cubefree number is A366536(n).
%H A369889 Amiram Eldar, <a href="/A369889/b369889.txt">Table of n, a(n) for n = 1..10000</a>
%F A369889 a(n) = A048250(A004709(n)).
%F A369889 Sum_{j=1..n} a(j) ~ c * n^2, where c = zeta(3)^2/(2*zeta(5)) = 0.6967413068... .
%F A369889 In general, the formula holds for the sum of squarefree divisors of the k-free numbers with c = zeta(k)^2/(2*zeta(2*k-1))..., for k >= 2.
%t A369889 f[p_, e_] := p + 1; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; cubefreeQ[n_] := Max[FactorInteger[n][[;; , 2]]] < 3; s /@ Select[Range[100], cubefreeQ]
%t A369889 (* or *)
%t A369889 f[p_, e_] := If[e > 2, 0, p + 1]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Array[s, 100], # > 0 &]
%o A369889 (PARI) lista(kmax) = {my(f, s, p, e); for(k = 1, kmax, f = factor(k); s = prod(i = 1, #f~, p = f[i,1]; e = f[i,2]; if(e < 3, p + 1, 0)); if(s > 0, print1(s, ", ")));}
%o A369889 (Python)
%o A369889 from math import prod
%o A369889 from sympy import mobius, integer_nthroot, primefactors
%o A369889 def A369889(n):
%o A369889     def f(x): return n+x-sum(mobius(k)*(x//k**3) for k in range(1, integer_nthroot(x,3)[0]+1))
%o A369889     m, k = n, f(n)
%o A369889     while m != k:
%o A369889         m, k = k, f(k)
%o A369889     return prod(p+1 for p in primefactors(m)) # _Chai Wah Wu_, Aug 12 2024
%Y A369889 Cf. A004709, A048250, A062822, A366440, A366536, A366537.
%Y A369889 Cf. A002117, A013663.
%K A369889 nonn,easy
%O A369889 1,2
%A A369889 _Amiram Eldar_, Feb 15 2024