document.write( "Question 1205940: A lattice point is a point with integer coordinates.
\n" ); document.write( "Find, with proof, the smallest 𝑁 such that, given any set of 𝑁 lattice
\n" ); document.write( "points, you can find a pair of them whose midpoint is also a lattice point.
\n" ); document.write( "

Algebra.Com's Answer #843052 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "odd + odd = even
\n" ); document.write( "even + even = even
\n" ); document.write( "even + odd = odd
\n" ); document.write( "Adding two numbers of the same parity leads to an even result.
\n" ); document.write( "Any even number when divided by 2 will result in some integer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If a and c have the same parity then (a+c)/2 is an integer.
\n" ); document.write( "If b and d have the same parity then (b+d)/2 is an integer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If a and c differ in parity (one is odd, the other even) then (a+c)/2 isn't an integer.
\n" ); document.write( "A similar situation happens with (b+d)/2 as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since we have 2 choices for parity and 2 coordinate slots, there are 2*2 = 4 different types of ordered pairs:
\n" ); document.write( "(even, even)
\n" ); document.write( "(even, odd)
\n" ); document.write( "(odd, even)
\n" ); document.write( "(odd, odd)
\n" ); document.write( "Let's say that we picked 4 random points and let's say we picked 1 of each form shown above. Clearly we don't have a parity match if we have this bad of luck. But the 5th point will guarantee to land on one of the parities mentioned due to the Pigeon-Hole Principle.
\n" ); document.write( "Therefore, we'll have a guaranteed parity match by the 5th point if there wasn't a match already.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In other words, having 5 random lattice points guarantees at least two of those points form a midpoint that's also a lattice point.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: N = 5
\n" ); document.write( "
\n" ); document.write( "
\n" );