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.

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

Original entry on oeis.org

1, 4, 1, 9, 1, 1, 16, 4, 1, 1, 25, 4, 1, 1, 1, 36, 9, 4, 1, 1, 1, 49, 9, 4, 1, 1, 1, 1, 64, 16, 4, 4, 1, 1, 1, 1, 81, 16, 9, 4, 1, 1, 1, 1, 1, 100, 25, 9, 4, 4, 1, 1, 1, 1, 1, 121, 25, 9, 4, 4, 1, 1, 1, 1, 1, 1, 144, 36, 16, 9, 4, 4, 1, 1, 1, 1, 1, 1, 169, 36, 16, 9, 4, 4, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Torlach Rush, Feb 13 2023

Keywords

Comments

T(n,k) is square 1 <= k <= n.
Alternative triangle construction: Write each column k as each square repreated k times.
T(*,1) is A000290.
T(*,2) is A008794.
T(*,3) is A211547.
T(*,4) is A295643(n+4).
T(*,5) is A287392(n+1).
Row sums of triangle are A222548.
This assumes the sides of the small squares are parallel to those of the large square. If the small squares are allowed to be rotated, better packings may exist (see e.g. the Friedman link).

Examples

			Sum_{T(1,*)} = A222548(1) = 1;
Sum_{T(2,*)} = A222548(2) = 5;
Sum_{T(3,*)} = A222548(3) = 11.
Triangle begins:
    1;
    4,  1;
    9,  1, 1;
   16,  4, 1, 1;
   25,  4, 1, 1, 1;
   36,  9, 4, 1, 1, 1;
   49,  9, 4, 1, 1, 1, 1;
   64, 16, 4, 4, 1, 1, 1, 1;
   81, 16, 9, 4, 1, 1, 1, 1, 1;
  100, 25, 9, 4, 4, 1, 1, 1, 1, 1;
  ...
		

Crossrefs

Programs

  • Python
    def T(n, k): return (n//k)**2

Formula

T(n,k) = floor(n/k)^2.
Showing 1-1 of 1 results.