cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A358877 Triangle read by rows: T(n,k) is the number of cubes of side length k that can be placed inside a cube of side length n without overlap, 1 <= k <= n.

Original entry on oeis.org

1, 8, 1, 27, 1, 1, 64, 8, 1, 1, 125, 8, 1, 1, 1, 216, 27, 8, 1, 1, 1, 343, 27, 8, 1, 1, 1, 1, 512, 64, 8, 8, 1, 1, 1, 1, 729, 64, 27, 8, 1, 1, 1, 1, 1, 1000, 125, 27, 8, 8, 1, 1, 1, 1, 1, 1331, 125, 27, 8, 8, 1, 1, 1, 1, 1, 1, 1728, 216, 64, 27, 8, 8, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Torlach Rush, Feb 17 2023

Keywords

Comments

T(n,k) is a cube 1 <= k <= n.
Alternative construction: Write each column k with each cube repeated k times.
Row sums of triangle are A318742.

Examples

			Triangle begins:
   1;
   8,   1;
  27,   1,  1;
  64,   8,  1,  1;
 125,   8,  1,  1,  1;
 216,  27,  8,  1,  1,  1;
 343,  27,  8,  1,  1,  1, 1;
 512,  64,  8,  8,  1,  1, 1, 1;
 729,  64, 27,  8,  1,  1, 1, 1, 1;
1000, 125, 27,  8,  8,  1, 1, 1, 1, 1;
1331, 125, 27,  8,  8,  1, 1, 1, 1, 1, 1;
1728, 216, 64, 27,  8,  8, 1, 1, 1, 1, 1, 1;
...
		

Crossrefs

Programs

  • Python
    def T(n, k): return (n//k)**3
Showing 1-1 of 1 results.