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 #11 Dec 01 2024 10:05:02
%S 1,2,3,5,5,7,7,10,10,11,11,17,13,15,16,21,17,23,19,27,22,23,23,35,26,
%T 27,30,37,29,40,31,42,34,35,36,56,37,39,40,55,41,54,43,57,53,47,47,73,
%U 50,57,52,67,53,70,56,75,58,59,59,96,61,63,73,85,66,82,67,87,70,84,71,115,73,75,83,97,78,96,79,115,91
%N Sum of divisors d of n such that n/d has an even number of prime factors (counted with multiplicity).
%C Agrees with A378548 on odd n.
%C Dirichlet convolution of A000027 with A065043.
%C Dirichlet convolution of A000010 (Euler phi) with A038548.
%H Antti Karttunen, <a href="/A378542/b378542.txt">Table of n, a(n) for n = 1..20000</a>
%H <a href="/index/Su#sums_of_divisors">Index entries for sequences related to sums of divisors</a>.
%F a(n) = Sum_{d|n} A065043(n/d)*d.
%F a(n) = Sum_{d|n} A000010(n/d)*A038548(d).
%F a(n) = A000203(n) - A378543(n).
%o (PARI) A378542(n) = sumdiv(n,d,d*!(bigomega(n/d)%2));
%Y Cf. A000010, A000027, A000203, A001222, A038548, A065043, A378525 (Dirichlet inverse), A378543.
%Y Cf. also A378546, A378548.
%K nonn,new
%O 1,2
%A _Antti Karttunen_, Dec 01 2024