Sunday Times Teaser 3334 – All Square

by Victor Bryant
Published Sunday August 16 2026 (link)
The picture shows a grid of three rows and five columns of identical small squares: Within that grid one can also spot some larger squares, giving a grand total of 26 squares (namely fifteen 1×1 squares, eight 2×2 and three 3×3).
Now I have drawn a larger such grid (with fewer than 50 columns and even fewer rows).
Within this new grid there is a grand total of exactly 10,000 squares.
How many rows and how many columns does this new grid have?
3 Comments
Leave one →
In one of my first attempts I used a recursive function (that can be cached) for the total.