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!)
A014818 a(n) is the sum over all floor(k^3/n), k=0 to n inclusive. 2

%I #14 Sep 08 2022 08:44:39

%S 1,4,11,24,43,71,109,160,222,298,391,502,631,781,953,1150,1369,1617,

%T 1891,2196,2531,2899,3301,3740,4215,4726,5283,5874,6511,7193,7921,

%U 8700,9521,10396,11323,12306,13339,14431,15581,16792,18061,19394,20791,22254,23784

%N a(n) is the sum over all floor(k^3/n), k=0 to n inclusive.

%D M. Eichler and D. Zagier, The Theory of Jacobi Forms, Birkhauser, 1985, p. 103.

%H Vincenzo Librandi, <a href="/A014818/b014818.txt">Table of n, a(n) for n = 1..5000</a>

%p f := m->sum( floor(k^3 / m), k=0..m);

%t Table[Sum[Floor[k^3 / n], {k, n}], {n, 50}] (* _Vincenzo Librandi_, Feb 12 2017 *)

%o (Magma) [&+[Floor(k^3/n): k in [1..n]]: n in [1..50]]; // _Vincenzo Librandi_, Feb 12 2017

%o (PARI) a(n) = sum(k=0, n, k^3\n); \\ _Michel Marcus_, Feb 12 2017

%Y Cf. A014817, A014819.

%K nonn

%O 1,2

%A _N. J. A. Sloane_.

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 April 24 12:46 EDT 2024. Contains 371942 sequences. (Running on oeis4.)