|
|
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.
|
|
1
|
|
|
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
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
T(n,k) is square 1 <= k <= n.
Alternative triangle construction: Write each column k as each square repreated k times.
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).
|
|
LINKS
|
|
|
FORMULA
|
T(n,k) = floor(n/k)^2.
|
|
EXAMPLE
|
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;
...
|
|
PROG
|
(Python)
def T(n, k): return (n//k)**2
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|