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 A211872 #21 Dec 09 2023 23:44:16 %S A211872 0,0,0,0,0,0,0,10,10,10,10,31,31,31,31,31,31,52,52,73,73,73,73,73,73, %T A211872 73,83,104,104,140,140,140,140,140,140,140,140,140,140,140,140,176, %U A211872 176,197,218,218,218,218,218,239,239,260,260,260,260,260,260,260,260 %N A211872 For each triprime (A014612) less than or equal to n, sum the positive integers less than or equal to the number of divisors of the triprime. %C A211872 The largest difference between any pair of consecutive numbers in the sequence = 36, The second largest difference = 21, the third largest = 10, and the fourth (and last) possible difference is 0. %H A211872 G. C. Greubel, <a href="/A211872/b211872.txt">Table of n, a(n) for n = 1..5000</a> %F A211872 a(n) = Sum_{i=1..n} [Omega(i) = 3] * Sum_{j = 1..d(i)} j. %F A211872 a(n) = Sum_{i=1..n} [Omega(i) = 3] * (omega(i) + 1) * (d(i) + 1). %F A211872 a(n) = Sum_{i=1..n} [Omega(i) = 3] * (2*omega(i)^2 + 5*omega(i) + 3), where [ ] is the Iverson bracket. %e A211872 a(1) = a(2) = a(3) = a(4) = a(5) = a(6) = a(7) = 0. a(8) = 10 since 8 has 4 divisors, and the sum of all the numbers up to 4 is 1 + 2 + 3 + 4 = 10. The next triprime is 12, so a(8) = a(9) = a(10) = a(11) = 10. Since there are two triprimes less than or equal to 12, we sum the numbers from 1 to d(8) and 1 to d(12), then take the sum total. Thus, a(12) = 10 + 21 = 31. %t A211872 sm = 0; Table[If[Total[Transpose[FactorInteger[n]][[2]]] == 3, d = DivisorSigma[0, n]; sm = sm + d (d + 1)/2]; sm, {n, 100}] (* _T. D. Noe_, Feb 14 2013 *) %t A211872 Table[Sum[KroneckerDelta[PrimeOmega[i], 3]*Sum[j, {j, DivisorSigma[0, i]}], {i, n}], {n, 50}] (* _Wesley Ivan Hurt_, Oct 07 2014 *) %Y A211872 Cf. A000005, A001221, A001222, A014612, A209323. %K A211872 nonn %O A211872 1,8 %A A211872 _Wesley Ivan Hurt_, Feb 12 2013