How many squares in a N by N square grid?

Share a quote, a general thought, jokes or one liners here.
Post Reply
User avatar
Anuj Dhawan
Founder
Posts: 2816
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

How many squares in a N by N square grid?

Post by Anuj Dhawan »

How many squares are there?

[center]
Squares.jpg
[/center]
You do not have the required permissions to view the files attached to this post.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
Anuj Dhawan
Founder
Posts: 2816
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: How many squares?

Post 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! :)
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

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

Post by zprogrammer »

40
zprogrammer
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

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

Post by zprogrammer »

Also would be fun to solve N-queens problem ;)
zprogrammer
Nikunj Tanna
Registered Member
Posts: 15
Joined: Sat Dec 14, 2013 11:38 pm

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

Post by Nikunj Tanna »

40, but what's the answer?
Thanks,
Nikunj
User avatar
Anuj Dhawan
Founder
Posts: 2816
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post 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? :)
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Maulik
Registered Member
Posts: 16
Joined: Thu Dec 12, 2013 8:28 pm

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

Post by Maulik »

I think it's 37, no? What's the logic?
User avatar
Anuj Dhawan
Founder
Posts: 2816
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post by Anuj Dhawan »

Whast's your logic to reach that number?
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Thought of the Day, General Talk & Jokes.”