login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293228 a(n) is the sum of proper divisors of n that are squarefree. 6

%I #20 Oct 09 2022 12:04:49

%S 0,1,1,3,1,6,1,3,4,8,1,12,1,10,9,3,1,12,1,18,11,14,1,12,6,16,4,24,1,

%T 42,1,3,15,20,13,12,1,22,17,18,1,54,1,36,24,26,1,12,8,18,21,42,1,12,

%U 17,24,23,32,1,72,1,34,32,3,19,78,1,54,27,74,1,12,1,40,24,60,19,90,1,18,4,44,1,96,23,46,33,36,1,72,21,72,35,50,25,12,1,24

%N a(n) is the sum of proper divisors of n that are squarefree.

%H Antti Karttunen, <a href="/A293228/b293228.txt">Table of n, a(n) for n = 1..16384</a>

%F a(n) = Sum_{d|n, d<n} A008966(d)*d.

%F a(n) = A048250(n) - (A008966(n)*n).

%F G.f.: Sum_{k>=1} mu(k)^2*k*x^(2*k)/(1 - x^k). - _Ilya Gutkovskiy_, Oct 28 2018

%F From _Amiram Eldar_, Oct 09 2022: (Start)

%F a(n) = 1 iff n is a prime.

%F a(n) = 3 iff n is a power of 2 greater than 2 (A020707).

%F Sum_{k=1..n} a(k) ~ (1/2 - 3/Pi^2) * n^2. (End)

%p with(numtheory): seq(coeff(series(add(mobius(k)^2*k*x^(2*k)/(1-x^k),k=1..n),x,n+1), x, n), n = 1 .. 120); # _Muniru A Asiru_, Oct 28 2018

%t a[n_] := Times @@ (1 + (f = FactorInteger[n])[[;; , 1]]) - If[AllTrue[f[[;;, 2]], # == 1 &], n, 0]; a[1] = 0; Array[a, 100] (* _Amiram Eldar_, Oct 09 2022 *)

%o (PARI) A293228(n) = sumdiv(n, d, (d<n)*issquarefree(d)*d);

%Y Cf. A005117, A008966, A048250, A293227, A293235.

%K nonn

%O 1,4

%A _Antti Karttunen_, Oct 08 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 30 08:03 EDT 2024. Contains 374738 sequences. (Running on oeis4.)