• How many squares ?

    Home » Forums » Outside the box » Fun Stuff » How many squares ?

    Author
    Topic
    #411112

    are there in total ?

    Viewing 5 reply threads
    Author
    Replies
    • #888946

      They all look like rectangles to me grin.

      Alan

    • #888947

      They all look like rectangles to me grin.

      Alan

    • #889012

      There are 12*12 squares of size 1 by 1, 11*11 squares of size 2 by 2, etc. So the total number is

      12*12 + 11*11 + … + 2*2 + 1*1 = 650

      The general formula for an n by n grid is n*(n+1)*(2*n+1)/6

      • #889075

        while you got the correct result, I think it’s a lot simpler to use this formula: (1ยฒ + 2ยฒ + 3ยฒ … + 12ยฒ)

        • #889087

          That’s basically what I had, but how are you going to compute that quickly for, say, a 50 by 50 grid?

        • #889088

          That’s basically what I had, but how are you going to compute that quickly for, say, a 50 by 50 grid?

      • #889076

        while you got the correct result, I think it’s a lot simpler to use this formula: (1ยฒ + 2ยฒ + 3ยฒ … + 12ยฒ)

    • #889013

      There are 12*12 squares of size 1 by 1, 11*11 squares of size 2 by 2, etc. So the total number is

      12*12 + 11*11 + … + 2*2 + 1*1 = 650

      The general formula for an n by n grid is n*(n+1)*(2*n+1)/6

    • #889063

      If you are wanting total SQUARES then…
      12*12 + 6*6 + 4*3 + 1 = 193

    • #889064

      If you are wanting total SQUARES then…
      12*12 + 6*6 + 4*3 + 1 = 193

    Viewing 5 reply threads
    Reply To: How many squares ?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: