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 A346155 #59 Sep 09 2021 12:24:35 %S A346155 2,5,7,10,12,16,18,21,23,26,28,33,35,38,40,43,45,49,51,54,56,59,61,66, %T A346155 68,71,73,76,78,82,84,87,89,92,94,99,101,104,106,109,111,115,117,120, %U A346155 122,125,127,132,134,137,139,142,144,148,150,153,155,158,160,167 %N A346155 Partial sums of A007978. %H A346155 Michel Marcus, <a href="/A346155/b346155.txt">Table of n, a(n) for n = 1..10000</a> %F A346155 a(n) ~ (1 + A064859) * n. - _Amiram Eldar_, Jul 11 2021 %e A346155 If b(n) is least non-divisor of n then, a(6) = b(1)+b(2)+b(3)+b(4)+b(5)+b(6) => 2+3+2+3+2+4 = 16. %t A346155 lnd[n_] := Module[{k = 2}, While[Divisible[n, k], k++]; k]; Accumulate @ Array[lnd, 100] (* _Amiram Eldar_, Jul 11 2021 *) %o A346155 (PARI) f(n) = {my(k=2); while(!(n % k), k++); k; } \\ A007978 %o A346155 a(n) = sum(k=1, n, f(k)); \\ _Michel Marcus_, Jul 11 2021 %Y A346155 Cf. A007978, A064859. %K A346155 nonn %O A346155 1,1 %A A346155 _Shobhit Tewari_, Jul 09 2021