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.
%I A354867 #9 Jun 10 2022 11:09:20 %S A354867 2,0,0,4,0,16,0,4,16,32,0,0,0,64,64,9,0,-12,0,0,128,128,0,28,64,256,8, %T A354867 0,0,-120,0,8,256,512,256,74,0,1024,512,56,0,-240,0,0,-96,2048,0,-4, %U A354867 256,-84,1024,0,0,120,512,112,2048,4096,0,284,0,8192,-192,20,1024,-480,0,0,4096,-552,0,-64,0,16384,-264,0,1024 %N A354867 Sum of A122111 and its Dirichlet inverse. %H A354867 Antti Karttunen, <a href="/A354867/b354867.txt">Table of n, a(n) for n = 1..12000</a> %H A354867 <a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a> %F A354867 a(n) = A122111(n) + A354866(n). %F A354867 a(1) = 2, and for n > 1, a(n) = -Sum_{d|n, 1<d<n} A122111(d) * A354866(n/d). %o A354867 (PARI) %o A354867 A122111(n) = if(1==n,n,my(f=factor(n), es=Vecrev(f[,2]),is=concat(apply(primepi,Vecrev(f[,1])),[0]),pri=0,m=1); for(i=1, #es, pri += es[i]; m *= prime(pri)^(is[i]-is[1+i])); (m)); %o A354867 memoA354866 = Map(); %o A354867 A354866(n) = if(1==n,1,my(v); if(mapisdefined(memoA354866,n,&v), v, v = -sumdiv(n,d,if(d<n,A122111(n/d)*A354866(d),0)); mapput(memoA354866,n,v); (v))); %o A354867 A354867(n) = (A122111(n)+A354866(n)); %Y A354867 Cf. A122111, A354866. %Y A354867 Cf. also A354352. %K A354867 sign %O A354867 1,1 %A A354867 _Antti Karttunen_, Jun 09 2022