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 A367628 #13 Nov 25 2023 22:09:42 %S A367628 1,3,1,3,1,6,1,7,4,3,1,16,1,3,4,7,1,12,1,12,4,3,1,24,1,3,4,7,1,17,1,7, %T A367628 4,3,1,25,1,3,4,20,1,19,1,7,9,3,1,24,1,8,4,7,1,12,1,22,4,3,1,43,1,3,4, %U A367628 7,1,12,1,7,4,15,1,45,1,3,9,7,1,12,1,30,4,3,1,35,1 %N A367628 Sum of the divisors of n <= tau(n). %C A367628 First differs from A126212(n) at a(25) = 1. %F A367628 a(n) = Sum_{d|n, d<=tau(n)} d. %e A367628 a(12) = 16. The sum of the divisors of 12 <= tau(12) = 6 are 1 + 2 + 3 + 4 + 6 = 16. %t A367628 Table[Sum[k(1-Ceiling[n/k]+Floor[n/k]), {k, DivisorSigma[0, n]}], {n, 100}] %o A367628 (PARI) a(n) = my(t=numdiv(n)); sumdiv(n, d, if (d <=t, d)); \\ _Michel Marcus_, Nov 25 2023 %Y A367628 Cf. A000005 (tau), A126212, A366979. %K A367628 nonn %O A367628 1,2 %A A367628 _Wesley Ivan Hurt_, Nov 24 2023