[Algorithm] Count the squares

SOME RELATED RECIPES

I have:
count squares

Some other recipes + way of proof:

Text s1 21 from nguyenvanquan7826

Wishing you good studies !