wu :: forums
« wu :: forums - Two Attacking Queens »

Welcome, Guest. Please Login or Register.
May 11th, 2024, 1:57am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: ThudnBlunder, towr, Grimbal, Eigenray, SMQ, Icarus, william wu)
   Two Attacking Queens
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Two Attacking Queens  (Read 2215 times)
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Two Attacking Queens  
« on: Oct 8th, 2003, 4:48am »
Quote Quote Modify Modify

When two queens are randomly placed on an nxn chessboard the probability that they attack each other is 3/11.
 
What is n?
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
BNC
Uberpuzzler
*****





   


Gender: male
Posts: 1732
Re: Two Attacking Queens  
« Reply #1 on: Oct 8th, 2003, 5:42am »
Quote Quote Modify Modify

Either I missed something, or it should be in "easy"...
 
::
A queen placed randomly on an nxn chessboard controles 3n-3 squares (I don't consider the square on which it stand "controlled")
 
The second queen may be placed on any of n^2-1 locations.
 
Solving 3(n-1)/(n^2-1)=3/11 gives n=1/10, so
 
n=10.
::
 
What do you say?
IP Logged

How about supercalifragilisticexpialidociouspuzzler [Towr, 2007]
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Two Attacking Queens  
« Reply #2 on: Oct 8th, 2003, 6:10am »
Quote Quote Modify Modify

Quote:
A queen placed randomly on an nxn chessboard controles 3n-3 squares

That is true only of queens placed randomly on the edge of the board.
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Two Attacking Queens  
« Reply #3 on: Oct 8th, 2003, 7:24am »
Quote Quote Modify Modify

It's pretty easy, I think.. the answer is ::11::
 
Just a matter of finding the right formula and then find the n for which you get the given probability..
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Two Attacking Queens  
« Reply #4 on: Oct 8th, 2003, 9:21am »
Quote Quote Modify Modify

Quote:
Just a matter of finding the right formula

And how do you easily do that? I don't see the point in posting bald answers.
 
(I suppose the fact that the method is obvious makes it Easy.)
 
« Last Edit: Oct 8th, 2003, 9:57am by ThudnBlunder » IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Two Attacking Queens  
« Reply #5 on: Oct 8th, 2003, 10:55am »
Quote Quote Modify Modify

on Oct 8th, 2003, 9:21am, THUDandBLUNDER wrote:
And how do you easily do that? I don't see the point in posting bald answers.
 
(I suppose the fact that the method is obvious makes it Easy.)
The way I allways start is first looking at small problems, n=2, n=3, n=4. Once you see the regularity it's (in this case) easy enough to generalize it, and a math-program can help simplify it (though that's not even necessary)  
« Last Edit: Oct 8th, 2003, 10:55am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
visitor
Guest

Email

Re: Two Attacking Queens  
« Reply #6 on: Oct 8th, 2003, 11:08am »
Quote Quote Modify Modify Remove Remove

This may be taking it the long way around, but here goes.

First figure the total number of squares attacked by a queen placed on every square of the board. That works out to
(n^2)*3(n-1)+ 2(n-2)^2+2(n-4)^2+2(n-6)^2... until n-? reaches 1 or 0. (Can that equation be simplified?)
Divide that by n^2 to get the average attacks.
Divide that by n^2 -1 to get the probability.
Then plugging different numbers in for n leads you to the correct solution.

IP Logged
James Fingas
Uberpuzzler
*****





   
Email

Gender: male
Posts: 949
Re: Two Attacking Queens  
« Reply #7 on: Oct 8th, 2003, 1:00pm »
Quote Quote Modify Modify

It's definitely possible to come up with a simpler formula. If you compute the answer for n=1 to 10 or so, you can find a pattern fairly easily. Hint: it doesn't grow exponentially.
 
I factored out the 2n-2 squares that are covered horizontally, then the n-1 squares that are always covered diagonally, then assigned a number to each square on the board specifying how many squares more than those 3n-3 are covered. The sum of these values has a fairly simple formula.
IP Logged

Doc, I'm addicted to advice! What should I do?
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board