cp's OEIS Frontend

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.

A331072 a(n) = Sum_{k = 1..n} u_3(k), where u_3 = A034836.

This page as a plain text file.
%I A331072 #13 Apr 19 2024 03:30:14
%S A331072 1,2,3,5,6,8,9,12,14,16,17,21,22,24,26,30,31,35,36,40,42,44,45,51,53,
%T A331072 55,58,62,63,68,69,74,76,78,80,88,89,91,93,99,100,105,106,110,114,116,
%U A331072 117,126,128,132,134,138,139,145,147,153,155,157,158,168,169,171,175,182,184,189,190,194,196,201,202,214,215,217
%N A331072 a(n) = Sum_{k = 1..n} u_3(k), where u_3 = A034836.
%C A331072 For background references see A330570.
%H A331072 Amiram Eldar, <a href="/A331072/b331072.txt">Table of n, a(n) for n = 1..10000</a>
%t A331072 s[1] = 1; s[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, If[IntegerQ[Surd[n, 3]], 1/3, 0] + (Times @@ ((e + 1)*(e + 2)/2))/6 + (Times @@ (Floor[e/2] + 1))/2]; Accumulate[Array[s, 100]] (* _Amiram Eldar_, Apr 19 2024 *)
%Y A331072 Cf. A034836.
%Y A331072 A096276 has the same initial terms, but is a different sequence.
%K A331072 nonn
%O A331072 1,2
%A A331072 _N. J. A. Sloane_, Jan 10 2020