All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Hide and destroy (Posted on 2006-02-15) Difficulty: 3 of 5
You must randomly place a destroyer (a 1x2 sized ship) on a 5x5 grid such that if I searched in any single square, my probability of finding the destroyer there is exactly 2/25. Is such a probability distribution possible? You cannot simply choose randomly one of the 40 possible positions of a destroyer because corners would have a 1/20 chance to contain the destroyer, while the center would have 1/10 chance.

Generalize to a 1xN sized ship in a MxM grid. When is it possible to place the ship with an even probability distribution in each square?

See The Solution Submitted by Tristan    
Rating: 3.4000 (5 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 12 of 14 |
An even distribution is not possible, because labelling the grid as follows:
A B A B A
B A B A B
A B A B A
B A B A B
A B A B A
We see that there will always be half the ship on A and the other half on B.  So whatever probability distribution you use, the average probability of the B squares will be 1/12, while the average probability for A squares will be 1/13.  Because this is always true regardless of the chosen distribution, and because the distribution we desire doesn't fit this condition, it doesn't exist.
For 1x2 ships, a distribution is possible only for even values of M in MxM grids.  I generalize that for 1xN ships, a distribution is only possible for MxM grids when N|M.

  Posted by AvalonXQ on 2006-02-17 05:00:59
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information