login

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”).

Dirichlet inverse of A191161, hypersigma variant 2.
3

%I #6 Nov 22 2024 13:31:53

%S 1,-4,-5,4,-7,18,-9,0,6,26,-13,-16,-15,34,33,0,-19,-18,-21,-24,43,50,

%T -25,0,10,58,0,-32,-31,-114,-33,0,63,74,61,12,-39,82,73,0,-43,-150,

%U -45,-48,-36,98,-49,0,14,-30,93,-56,-55,0,89,0,103,122,-61,96,-63,130,-48,0,103,-222,-69,-72,123,-218,-73,0,-75

%N Dirichlet inverse of A191161, hypersigma variant 2.

%H Antti Karttunen, <a href="/A378211/b378211.txt">Table of n, a(n) for n = 1..20000</a>

%F a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A191161(n/d) * a(d).

%o (PARI)

%o A191161(n) = sumdiv(n, d, if(d<n, d+A191161(d), n));

%o memoA378211 = Map();

%o A378211(n) = if(1==n,1,my(v); if(mapisdefined(memoA378211,n,&v), v, v = -sumdiv(n,d,if(d<n,A191161(n/d)*A378211(d),0)); mapput(memoA378211,n,v); (v)));

%Y Cf. A191161.

%Y Cf. also A378210.

%K sign

%O 1,2

%A _Antti Karttunen_, Nov 22 2024