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, 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
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; ...
Links
- E. Friedman, Packing Unit Squares in Squares: A Survey and New Results, The Electronic Journal of Combinatorics 5 (2009), DS#7.
Programs
-
Python
def T(n, k): return (n//k)**2
Formula
T(n,k) = floor(n/k)^2.
Comments