The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A364013 Expansion of Sum_{k>0} k^2 * x^k / (1 + x^(3*k)). 2
1, 4, 9, 15, 25, 36, 50, 60, 81, 99, 121, 135, 170, 200, 225, 239, 289, 324, 362, 371, 450, 483, 529, 540, 626, 680, 729, 750, 841, 891, 962, 956, 1089, 1155, 1250, 1215, 1370, 1448, 1530, 1483, 1681, 1800, 1850, 1811, 2025, 2115, 2209, 2151, 2451, 2479, 2601, 2550, 2809, 2916, 3026 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = -Sum_{d|n, n/d==1 (mod 3)} (-1)^(n/d) * d^2.
MATHEMATICA
a[n_] := -DivisorSum[n, (-1)^(n/#) * #^2 &, Mod[n/#, 3] == 1 &]; Array[a, 100] (* Amiram Eldar, Jul 01 2023 *)
PROG
(PARI) a(n) = -sumdiv(n, d, (n/d%3==1)*(-1)^(n/d)*d^2);
CROSSREFS
Cf. A050470.
Sequence in context: A030664 A070160 A244672 * A056928 A225283 A122964
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 01 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 12:44 EDT 2024. Contains 373097 sequences. (Running on oeis4.)