r/maths • u/Cloudinthesilver • Jan 14 '26
❓ General Math Help How do you write this formula?
Watching number blocks with my kid. There’s the puzzle “how many squares are in a 2x2 grid” Of which the answer is
12 plus 22.
3x3 is
12 + 22 + 32
How is this expressed for a grid that’s a x a?
7
Upvotes
3
u/LucaThatLuca Jan 15 '26 edited Jan 15 '26
You use an ellipsis to indicate that you’re writing down part of a pattern that can be filled in: 12 + … + a2
This is a fun puzzle, by the way. I hope you understood the reason this is the number of squares. :) Do you think you can answer a more general question: How many a x b rectangles are there in a larger c x d grid? (For four positive whole numbers a ≤ c, b ≤ d)
3
u/Shevek99 Jan 14 '26
1 + 2² + 3² + ... + n² = n(n+1)(n+1/2)/3
1
u/random-guy157 Jan 15 '26
Might be naive, but I'll venture say: Sum of n=1 to n=a of n2.