%I #11 Aug 13 2021 22:48:12
%S 1,-3,-4,2,-8,14,-11,0,0,30,-19,-14,-23,41,38,0,-32,-2,-35,-34,49,73,
%T -42,4,17,89,14,-46,-54,-172,-57,0,88,126,109,10,-71,137,110,12,-79,
%U -219,-82,-86,-6,164,-89,0,26,-103,158,-106,-102,-76,199,16,170,212,-113,274,-117,223,16,0,240,-406,-131,-154,201
%N Dirichlet inverse of A005187.
%H Antti Karttunen, <a href="/A346237/b346237.txt">Table of n, a(n) for n = 1..16384</a>
%F a(n) = A346238(n) - A005187(n).
%o (PARI)
%o up_to = 65537;
%o DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(d<n, v[n/d]*u[d], 0)))); (u) }; \\ Compute the Dirichlet inverse of the sequence given in input vector v.
%o A005187(n) = { my(s=n); while(n>>=1, s+=n); s; };
%o v346237 = DirInverseCorrect(vector(up_to,n,A005187(n)));
%o A346237(n) = v346237[n];
%Y Cf. A005187, A346238.
%Y Cf. also A297111, A317927, A317928.
%K sign
%O 1,2
%A _Antti Karttunen_, Jul 13 2021