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

%I #13 Jul 01 2023 09:25:40

%S 1,4,9,15,25,36,50,60,81,99,121,135,170,200,225,239,289,324,362,371,

%T 450,483,529,540,626,680,729,750,841,891,962,956,1089,1155,1250,1215,

%U 1370,1448,1530,1483,1681,1800,1850,1811,2025,2115,2209,2151,2451,2479,2601,2550,2809,2916,3026

%N Expansion of Sum_{k>0} k^2 * x^k / (1 + x^(3*k)).

%F a(n) = -Sum_{d|n, n/d==1 (mod 3)} (-1)^(n/d) * d^2.

%t a[n_] := -DivisorSum[n, (-1)^(n/#) * #^2 &, Mod[n/#, 3] == 1 &]; Array[a, 100] (* _Amiram Eldar_, Jul 01 2023 *)

%o (PARI) a(n) = -sumdiv(n, d, (n/d%3==1)*(-1)^(n/d)*d^2);

%Y Cf. A364011, A364012.

%Y Cf. A050470.

%K nonn

%O 1,2

%A _Seiichi Manyama_, Jul 01 2023

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 August 12 16:35 EDT 2024. Contains 375113 sequences. (Running on oeis4.)