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!)
A303972 Total volume of all cubes with side length n which can be split such that n = p + q, p divides q and p < q. 1
0, 0, 27, 64, 125, 432, 343, 1024, 1458, 2000, 1331, 6912, 2197, 5488, 10125, 12288, 4913, 23328, 6859, 32000, 27783, 21296, 12167, 82944, 31250, 35152, 59049, 87808, 24389, 162000, 29791, 131072, 107811, 78608, 128625, 326592, 50653, 109744, 177957, 384000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = n^3 * Sum_{i=1..floor((n-1)/2)} floor((n-i)/i) - floor((n-i-1)/i).
a(n) = n * A303873(n).
MAPLE
A303972 := proc(n)
v := 0 ;
for p from 1 to n/2 do
q := n-p ;
if p < q and modp(q, p) = 0 then
v := v+n^3 ;
end if;
end do:
v ;
end proc:
seq(A303972(n), n=1..40) ; # R. J. Mathar, Jun 25 2018
MATHEMATICA
Table[n^3*Sum[(Floor[(n - i)/i] - Floor[(n - i - 1)/i]), {i, Floor[(n - 1)/2]}], {n, 50}]
PROG
(Magma) [0, 0] cat [&+[(((n-k) div k)-(n-k-1) div k)*n^3: k in [1..(n-1) div 2]]: n in [3..80]]; // Vincenzo Librandi, May 04 2018
CROSSREFS
Cf. A303873, A023645 (number of contributing cubes).
Sequence in context: A319389 A340700 A106200 * A361147 A099865 A065008
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, May 03 2018
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 May 21 02:29 EDT 2024. Contains 372720 sequences. (Running on oeis4.)