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 A345298 #12 Aug 18 2021 21:46:52 %S A345298 0,2,4,2,8,6,16,2,4,10,32,6,64,18,12,2,128,6,256,10,20,34,512,6,8,66, %T A345298 4,18,1024,14,2048,2,36,130,24,6,4096,258,68,10,8192,22,16384,34,12, %U A345298 514,32768,6,16,10,132,66,65536,6,40,18,260,1026,131072,14,262144,2050,20,2,72 %N A345298 a(n) = Sum_{p|n, p prime} tau(p #). %C A345298 If p is prime, a(p) = Sum_{p|p} tau(p #) = tau(p) * tau(prevprime(p)) * ... * tau(2) = 2 * 2 * ... * 2 ( pi(p) times ) = 2^pi(p). %F A345298 G.f.: Sum_{k>=1} 2^k * x^prime(k) / (1 - x^prime(k)). - _Ilya Gutkovskiy_, Aug 18 2021 %e A345298 a(14) = Sum_{p|14} tau(p #) = tau(2 #) + tau(7 #) = 2^pi(2) + 2^pi(7) = 2^1 + 2^4 = 18. %t A345298 Table[Sum[DivisorSigma[0, Product[i^(PrimePi[i] - PrimePi[i - 1]), {i, k}]](PrimePi[k] - PrimePi[k - 1]) (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 80}] %Y A345298 Equals twice A087207. %Y A345298 Cf. A000005 (tau), A002110, A345284. %K A345298 nonn %O A345298 1,2 %A A345298 _Wesley Ivan Hurt_, Jun 13 2021