answersLogoWhite

0


Best Answer

# of possible square shapes viewed in a n x n grid

# of squares = (n)2 + (n-1)2 + (n-2)2 ... (1)2

Examples:

When n=1: 12 = 1

When n=2: 22 + 12 = 5

When n=3: 32 + 22 + 12 = 9 + 4 + 1 = 14

When n=4: 42 + 32 + 22 +12 = 16 + 9 + 4 + 1 = 30

User Avatar

Wiki User

βˆ™ 13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Formula to calculate squares in n x n grid?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many squares does a 7 by 7 grid have?

7 x 7 = 49 of the smallest squares if there are 7 squares on each side. The total number of "squares" of any size (1 to 49 of the smallest squares) is 140. The number can be calculated from the formula [(n)(n+1)(2n+1)] / 6 where n is the grid size.


How many Squares are in a 7 by 7 grid?

There are 49 of the smallest squares. However, any grid forms "squares" that consist of more than one of the smallest squares. For example, there are four different 6x6 squares that each include 36 of the small squares, nine different 5x5 squares, sixteen 4x4 squares, twenty-five 3 x 3 squares, and thirty-six different squares that contain 4 of the small squares. One could therefore discern 140 distinct "squares." The number can be calculated from the formula [(n)(n+1)(2n+1)] / 6 where n is the grid size.


What is the equation for finding out how many squares are in a 4 by 4 grid?

4 x 4 = 16For any grid n by n, the number of squares is equal to n2 (or n x n)


What is the formula to calculate the area of a square?

The formula can be written, with "n" representing a number or value, as n2 or n X n.


Sum of squares of odd integers?

The formula for the sum of the squares of odd integers from 1 to n is n(n + 1)(n + 2) ÷ 6. EXAMPLE : Sum of odd integer squares from 1 to 15 = 15 x 16 x 17 ÷ 6 = 680


How could you find how many squares are on any size square board?

The number of squares in an n-by-n square is 1^2 + 2^2 + 3^2 + ... + n^2 This sum is given by the formula n(n + 1)(2n + 1)/6 Jai


What is the formula for the how many squares do you see puzzles?

Sum of N2 for N=1 to X, and X is the number of squares across the top or side on the large square.


What is the formula to find sum of first n prime numbers?

there isn't a formula for it.you need to calculate it by your own.


Can someone make you a while statement program that will calculate the squares of all the numbers from 10 to 50?

10 N = 1020 WHILE N < 5130 S = N^2 : Print N, S40 N = N + 150 WEND


How to calculate empirial formula from molecular formula?

To calculate the empirical formula from a molecular formula, divide the subscripts in the molecular formula by the greatest common factor to get the simplest ratio of atoms. This simplest ratio represents the empirical formula.


How many squares are there on a chessboard?

There are 64 squares on a chessboard. It is true that there is 64 squares in a chess board but there really is 204 1X1 squares 8x8=64 2x2 squares 7x7=49 etc etc 204 the formula is n = n(n+1)(2n+1) divide by 6 this works for all sizes In addition, you can visually see a proof of this at the related link below. This simulation gives you the ability to change the board's width and height.


How many rectangles are in a 5 by 4 grid?

In a grid of A x B squares, the formula to find how many unique rectangles there are (and all squares are considered to be rectangles) is: A * (A+1) * B * ((B+1)/4) A and B are interchangeable. So in a 5 x 4 grid, there are 5 * (5+1) * 4 * ((4+1)/4) Or 5 * 6 * 4 * (5/4) Or 150 unique rectangles. Now if we switch A and B, the equation reads: 4 * (4+1) * 5 * ((5+1)/4) Or 4 * 5 * 5 * (6/4) Again 150 unique rectangles.