mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Puzzles (https://www.mersenneforum.org/forumdisplay.php?f=18)
-   -   Lines in a Square (https://www.mersenneforum.org/showthread.php?t=11835)

Kees 2009-05-05 16:15

Lines in a Square
 
Consider an n x n chessboard.
What is the size of the smallest collection of lines such that every square of the chessboard is intersected by at least one line ?

PS: I do not pretend to have a solution, but as this is more puzzle than serious math I decided to put it here.

retina 2009-05-05 16:26

[QUOTE=Kees;172428]Consider an n x n chessboard.
What is the size of the smallest collection of lines such that every square of the chessboard is intersected by at least one line ?

PS: I do not pretend to have a solution, but as this is more puzzle than serious math I decided to put it here.[/QUOTE][spoiler]One line only is needed. The puzzle does not specify that the lines have to be straight so I make it a single spiral with pitch of < one square width.[/spoiler]

Mini-Geek 2009-05-05 16:27

Assuming straight lines only.
[spoiler]I can't find a way to do it with any less than n lines, no matter the number of squares, and it can always be done with n lines by putting one horizontal line through each row, so my answer is:
n. It takes a minimum of n lines to put a line through every square of a n x n "chessboard".[/spoiler]

davieddy 2009-05-05 16:34

[spoiler] I can't improve on n [/spoiler]

Mr. P-1 2009-05-05 16:35

[QUOTE=retina;172430][spoiler]One line only is needed. The puzzle does not specify that the lines have to be straight so I make it a single spiral with pitch of < one square width.[/spoiler][/QUOTE]

[spoiler]In mathematics, lines are straight by definition. A spiral is a curve.[/spoiler]

retina 2009-05-05 16:50

[spoiler]If the n is large (or the squares are large, or both) and the universe is closed, then only one line is needed.[/spoiler]

10metreh 2009-05-05 16:53

[spoiler]I am pretty sure the answer is n (although it is possible to miss by one square on smaller boards, not sure about larger ones).[/spoiler]

retina 2009-05-05 16:57

[QUOTE=Mr. P-1;172435][spoiler]In mathematics, lines are straight by definition. A spiral is a curve.[/spoiler][/QUOTE]Okay, no argument from me there, but maybe the OP meant [url=http://en.wikipedia.org/wiki/Line_(electrical_engineering)]this type of line[/url]. :p

axn 2009-05-05 17:01

1 Attachment(s)
not true for 3x3

davieddy 2009-05-05 18:20

[quote=axn;172440]not true for 3x3[/quote]
Neat.
Or on second thoughts a bit messy:smile:

S485122 2009-05-05 18:29

[spoiler]for n even or n=1 one needs n lines, for n uneven one needs n-1 lines[/spoiler]

I have no mathematical proof, just a bit of fidling around with a vector drawing program.

Jacob


All times are UTC. The time now is 05:34.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.