Page 1 of 1

How many squares in a N by N square grid?

Posted: Wed Dec 11, 2013 8:51 am
by Anuj Dhawan
How many squares are there?

[center]
Squares.jpg
[/center]

Re: How many squares?

Posted: Thu Dec 12, 2013 6:02 pm
by Anuj Dhawan
enrico-sorichetti wrote:but nicer to ask

how many squares in a N by N square grid
Edited to add this one! :)

Re: How many squares in a N by N square grid?

Posted: Thu Dec 12, 2013 7:14 pm
by zprogrammer
40

Re: How many squares in a N by N square grid?

Posted: Thu Dec 12, 2013 7:24 pm
by zprogrammer
Also would be fun to solve N-queens problem ;)

Re: How many squares in a N by N square grid?

Posted: Mon Dec 16, 2013 6:01 pm
by Nikunj Tanna
40, but what's the answer?

Re: How many squares in a N by N square grid?

Posted: Mon Dec 16, 2013 8:52 pm
by Anuj Dhawan
I think, rather than telling what's the answer is -- it'd be nice to hear what logic have one applied to reach the answer, yeah? :)

Re: How many squares in a N by N square grid?

Posted: Wed Dec 18, 2013 2:01 pm
by Maulik
I think it's 37, no? What's the logic?

Re: How many squares in a N by N square grid?

Posted: Wed Dec 18, 2013 5:32 pm
by Anuj Dhawan
Whast's your logic to reach that number?