English

Counting LEGO configurations

Combinatorics 2026-05-11 v1 Mathematical Physics math.MP

Abstract

We discuss the problem of counting certain LEGO structures, primarily those comprising parallel w×1w \times 1 tiles. These can be combined, as a single LEGO structure, by interlocking the tiles. %Alternatively, if the interlocking condition is relaxed, so that tiles can also be placed end-to-end, a greater number of possible configurations results. We also study the historically earlier problem of counting the number of ways to combine 2×42 \times 4 LEGO tiles, which in this case gives a 3-dimensional structure. In all cases the number of configurations is dominated by an exponential growth term, μn\mu^n where nn is the number of tiles. We present an algorithm for counting these various LEGO configurations, and use the data to estimate the asymptotics. We analyse the data so generated, and conjecture that, for the two-dimensional structures, the number of possible configurations grows like A(w)μ(w)n/n,A(w)\mu(w)^n/n, and we give numerical estimates for A(w)A(w) and μ(w)\mu(w) for w<11,w < 11, while for the three-dimensional structure the number of possible configurations is conjectured to grow like Aμn/n3/2,A\mu^n/n^{3/2}, where μ=117.25±0.05.\mu = 117.25 \pm 0.05. We also study the sequences that arise when we fix the number of tiles n,n, and vary the tile size w.w. We prove that the sequences are polynomials of degree n1,n-1, and we give these explicitly for n=114.n=1 \ldots 14.

Cite

@article{arxiv.2605.07380,
  title  = {Counting LEGO configurations},
  author = {Anthony J Guttmann and Rasmus M Nilsson},
  journal= {arXiv preprint arXiv:2605.07380},
  year   = {2026}
}

Comments

23 pages, 12 figures

R2 v1 2026-07-01T12:57:08.126Z