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 A386596 #8 Aug 26 2025 15:22:14 %S A386596 0,1,2,4,3,10,4,12,10,15,5,31,6,21,25,30,7,45,8,48,34,29,9,83,24,34, %T A386596 39,65,10,102,11,71,48,42,52,134,12,47,56,128,13,141,14,94,109,55,15, %U A386596 199,43,108,70,109,16,169,74,174,78,65,17,300,18,71,148,160,87,204,19,137,92,216,20,351,21,82,173,153,100,238,22,308,139,89,23,409,109,94,111 %N A386596 a(n) = Sum_{d|n} d * pi(n/d). %C A386596 Dirichlet convolution of n and pi(n). %C A386596 Inverse Möbius transform of A333699(n). %H A386596 Robert Israel, <a href="/A386596/b386596.txt">Table of n, a(n) for n = 1..10000</a> %F A386596 a(n) = Sum_{d|n} A333699(d). %p A386596 f:= proc(n) local d; %p A386596 add(d*numtheory:-pi(n/d),d=numtheory:-divisors(n)) %p A386596 end proc: %p A386596 map(f, [$1..100]); # _Robert Israel_, Aug 26 2025 %t A386596 Table[Sum[d*PrimePi[n/d], {d, Divisors[n]}], {n, 100}] %Y A386596 Cf. A000720 (pi), A333699. %K A386596 nonn,look,changed %O A386596 1,3 %A A386596 _Wesley Ivan Hurt_, Jul 26 2025