#Integer points inside a square

18 messages · Page 1 of 1 (latest)

night berryBOT
#
  1. Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
  2. Wait patiently for a helper to come along.
  3. Once someone helps you, say thank you and close the thread with:
    +close
    
  4. Feel free to nominate the person for helper of the week in #helper-nominations
  5. Do not ping the mods, unless someone is breaking the rules.
  6. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
toxic dawn
#

if we start from the top of the square and count the number of lattice points in a row, pretty sure you get a pattern

jagged jolt
#

P_3 for your reference:

jagged jolt
#

Counted the half integers eyy?
I did that too 3am

#

You don't really have to

#

The points in the upper half are in a 45-45-90 triangular configuration

#

You add 1 to 3 to 5 etc., which yields a perfect square

#

Same goes for the lower part

#

Let one half take the points on the x-axis, WLOG let the upper half do so

#

Then you have a sum of two perfect squares

#

All that remains is to express the bases of the perfect squares in terms of n

#

Let me walk you through P3. For the upper half, we have three layers of points:

  • (0, 2); 1 point
  • (-1, 1), (0, 1), (1, 1); three points
  • (-2, 0), (-1, 0), (0, 0), (1, 0), (2, 0); five points
    for a total of 9 points, which is 3 squared
#

Similar counting yields 2 squared for the lower half

#

There are 5 points on the x-axis and in P_3 at the same time

#

That is one less than two times of 3, which is the base of the upper perfect square

jagged jolt
#

2 is in turn the greatest integer not exceeding half the diagonal length of the square, which is 3/sqrt(2)