Live data from Hacker News

Math Puzzle: Integer Points

pratikpoddarcse.blogspot.in

21–30 of 49 posts

Re: Math Puzzle: Integer Points

#21

back of the napkin: take the first 4 points to be a unit box with the lower left point at the origin. You can draw any of 4 lines to the 5th point (x,y). These 4 lines will have slopes x:y, x-1:y, x:y-1, x-1,y-1. You can always arrive at a slope ratio that is evenly divisible through some combination of -1 and reducing the ratio to simplest form. An evenly divisible slope ratio will pass through another point. exampl…

A real proof would work for an arbitrary first four points (with any segment between two not containing a lattice point), but I think nikln already provided this :)

doh, forgot to do the last and most important step, generalizing.

Re: Math Puzzle: Integer Points

#22
This seems rather trivial.

Take two arbitrary points, named A and B, where Ax Calculate the delta ∂ between the points, such that ∂x = Bx - Ax and ∂y = By - Ay

Define a third point C such that Cx = Bx + ∂x and Cy = By + ∂y.

C is integral, and is colinear with A and B.

Re: Math Puzzle: Integer Points

#24
post #22

This seems rather trivial. Take two arbitrary points, named A and B, where Ax Calculate the delta ∂ between the points, such that ∂x = Bx - Ax and ∂y = By - Ay Define a third point C such that Cx = Bx + ∂x and Cy = By + ∂y. C is integral, and is colinear with A and B.

C does not lie on the line segment AB.

Re: Math Puzzle: Integer Points

#29

While we're all solving puzzles, can anyone help me with this one? No doubt you've doodled this shape in your graph paper before: http://i.imgur.com/oY29sBc.png What function does this slope approximate? It almost a circle, but not quite.

This is a quadratic Bézier curve http://en.wikipedia.org/wiki/B%C3%A9zier_curve

Re: Math Puzzle: Integer Points

#30

While we're all solving puzzles, can anyone help me with this one? No doubt you've doodled this shape in your graph paper before: http://i.imgur.com/oY29sBc.png What function does this slope approximate? It almost a circle, but not quite.

This is a quadratic Bézier curve http://en.wikipedia.org/wiki/B%C3%A9zier_curve

Or in other words, it’s a section of a parabola. (As it happens, it’s a parabola tilted 45°, but still.)
Post reply on HN