login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A331130
a(n) = Sum_{i=1..n} u_3(i)*u_3(i+1), where u_3(n) = A034836(n).
2
1, 2, 4, 6, 8, 10, 13, 19, 23, 25, 29, 33, 35, 39, 47, 51, 55, 59, 63, 71, 75, 77, 83, 95, 99, 105, 117, 121, 126, 131, 136, 146, 150, 154, 170, 178, 180, 184, 196, 202, 207, 212, 216, 232, 240, 242, 251, 269, 277, 285, 293, 297, 303, 315, 327, 339, 343, 345, 355, 365
OFFSET
1,2
COMMENTS
For background references see A330570.
LINKS
MATHEMATICA
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]; With[{t = Array[s, 100]}, Accumulate[Most[t] * Rest[t]]] (* Amiram Eldar, Apr 19 2024 *)
CROSSREFS
Sequence in context: A233735 A379353 A085577 * A121832 A253241 A337972
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 10 2020
STATUS
approved