# One hundred chicks peck a random neighbor. How many go unpecked?

**URL:** <https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696>\
**Category:** Factual Questions\
**Created:** [May 15, 2017, 11:03pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696 "2017-05-15T23:03:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo\_Bloom](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/leo_bloom/32/10377_2.png) [@Leo\_Bloom](https://boards.straightdope.com/u/Leo_Bloom)\
**Post date:** [May 15, 2017, 11:03pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/1 "2017-05-15T23:03:30Z")

</div>

Not homework. Winning (final) question in [math competition](https://www.mathcounts.org/national-competition).

[Article in NYTimes.](https://www.nytimes.com/2017/05/15/us/math-counts-national-competition.html)

1. If they’re sitting in a circle?

2. In a line?

3. As a big old radially symmetric bunch of birds in a space defined by the stacking of of chicken-standing-floor-area-normalized-to-neck-length-to-peck dimensionality?

That last bit, someone please help with how this is stated correctly, or ask for clarification.

---

<div class="post-metadata">

**Author:** ![magnusblitz](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@magnusblitz](https://boards.straightdope.com/u/magnusblitz)\
**Post date:** [May 15, 2017, 11:31pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/2 "2017-05-15T23:31:38Z")

</div>

Not a math person, but I’m assuming that the reasoning for “in a circle” being 25 is that “each chick has a 50% chance of being pecked from their left, and 50% chance of being pecked from their right, so only a 25% chance of being unpecked.” Similar application for the “in a line” except the two chicks on the ends only have a 50% chance of being pecked, rather than 75%, so its 25.5 expected non-peckees instead.

No idea what you mean by scenario #3.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [May 16, 2017, 12:58am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/3 "2017-05-16T00:58:00Z")

</div>

> [@magnusblitz](#):
>
> I’m assuming that the reasoning for “in a circle” being 25 is that “each chick has a 50% chance of being pecked from their left, and 50% chance of being pecked from their right, so only a 25% chance of being unpecked.”

That appears to be correct, but I wasn’t sure that reasoning was valid because the chicks’ pecked/unpecked statuses aren’t all independent of one another. So I ran a random computer simulation which convinced me that (your spoilered answer) is indeed correct.

---

<div class="post-metadata">

**Author:** ![markn\_1](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markn\_1](https://boards.straightdope.com/u/markn_1)\
**Post date:** [May 16, 2017, 1:02am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/4 "2017-05-16T01:02:24Z")

</div>

I agree with **magnusblitz** reasoning.

I’m going to guess that the translation from Leo Bloomian into English for #3 is the chicks are arranged in a hexagonal grid. In that case, each interior chick has only a 1/6 chance of being unpecked. The ones on the edge have a better chance, depending on how many neighbors they have. The exact result will depend on exactly how the 100 are arranged, since 100 chicks don’t fit into a neat symmetrical hex grid.

---

<div class="post-metadata">

**Author:** ![Riemann](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/riemann/32/3133_2.png) [@Riemann](https://boards.straightdope.com/u/Riemann)\
**Post date:** [May 16, 2017, 1:08am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/5 "2017-05-16T01:08:27Z")

</div>

> [@Thudlow\_Boink](#):
>
> That appears to be correct, but I wasn’t sure that reasoning was valid because the chicks’ pecked/unpecked statuses aren’t all independent of one another. So I ran a random computer simulation which convinced me that (your spoilered answer) is indeed correct.

They are not independent. For example, if chick _n_ is unpecked, then it is certain that chicks _n-2_ and _n+2_ are pecked.

Presumably the answer still comes out to 25, but we lack a rigorous proof of that. I suspect that there’s a simple line of reasoning, but I haven’t come up with it yet.

---

<div class="post-metadata">

**Author:** ![Leo\_Bloom](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/leo_bloom/32/10377_2.png) [@Leo\_Bloom](https://boards.straightdope.com/u/Leo_Bloom)\
**Post date:** [May 16, 2017, 1:18am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/6 "2017-05-16T01:18:48Z")

</div>

> [@markn\_1](#):
>
> … The exact result will depend on exactly how the 100 are arranged, since 100 chicks don’t fit into a neat symmetrical hex grid.

Yes that’s along the lines of the case, but I hoped to generalize it, even though I started out with radial symmetry (of what order unspecified).

That is, take an overhead view of the chickens and calculate optimum space filling in a circle, or, for mathematical interest, other 2-D planes.

I don’t know the modulus for chickens for which a ring-spacing (for example) might go to keep chickens at unit 1, but, looking down on the ring: 1 chicken at the bull’s eye, ringed by 3, which are ringed by 5, etc.

The neck-length-peck criterion I added was to add a change from a 3-D packing problem–ie, with sphere packing, the “pecking opportunities/neighbors” would be the points at which the solids touch; chickens are not spheres, but I’m imagining the problem like so:

This bunch of chickens arranged arbitrarily on a barn floor can peck their neighbors in their lateral direction as well as between the shoulders (chickens have shoulders) to peck at a “neighbor” in a different ring (to stick with the radial overhead view).

And since chickens aren’t spheres, their “contact points” must be calculated as a discrete point on each of them.

Am I getting closer to explaining what I think might be interesting?  
ETA: Generalizations to chickens-in-a-barn-in-microgravity packing would be a natural expansion of the problem.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [May 16, 2017, 1:20am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/7 "2017-05-16T01:20:42Z")

</div>

The question only asked what is the _expected_ (average) value of the number of unpecked chicks. So it makes no difference whether or not they are independent. The argument is completely rigorous.

---

<div class="post-metadata">

**Author:** ![lucid-nonsense](https://avatars.discourse-cdn.com/v4/letter/l/2acd7d/32.png) [@lucid-nonsense](https://boards.straightdope.com/u/lucid-nonsense)\
**Post date:** [May 16, 2017, 1:50am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/8 "2017-05-16T01:50:40Z")

</div>

> [@magnusblitz](#):
>
> Not a math person, but I’m assuming that the reasoning for “in a circle” being 25 is that “each chick has a 50% chance of being pecked from their left, and 50% chance of being pecked from their right, so only a 25% chance of being unpecked.” Similar application for the “in a line” except the two chicks on the ends only have a 50% chance of being pecked, rather than 75%, so its 25.5 expected non-peckees instead.
> 
> No idea what you mean by scenario #3.

In the line scenario, wouldn’t the second to last have a 100% probability of being pecked, since the last one only has one neighbor to peck?

---

<div class="post-metadata">

**Author:** ![Riemann](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/riemann/32/3133_2.png) [@Riemann](https://boards.straightdope.com/u/Riemann)\
**Post date:** [May 16, 2017, 2:19am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/9 "2017-05-16T02:19:45Z")

</div>

> [@DPRK](#):
>
> The question only asked what is the _expected_ (average) value of the number of unpecked chicks. So it makes no difference whether or not they are independent. The argument is completely rigorous.

Yes, my brain is creaking with rust. You can add expected values, you are right. Nothing else is needed.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [May 16, 2017, 12:13pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/10 "2017-05-16T12:13:56Z")

</div>

> [@lucid-nonsense](#):
>
> In the line scenario, wouldn’t the second to last have a 100% probability of being pecked, since the last one only has one neighbor to peck?

Yes.

So 25 in that case as well.

---

<div class="post-metadata">

**Author:** ![kayaker](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kayaker/32/441_2.png) [@kayaker](https://boards.straightdope.com/u/kayaker)\
**Post date:** [May 16, 2017, 1:23pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/11 "2017-05-16T13:23:34Z")

</div>

Apropos of nothing, there are [chicken blinders](http://i.ebayimg.com/images/g/53kAAOSwDNdVtfdz/s-l300.jpg) that can be used to reduce pecking.

---

<div class="post-metadata">

**Author:** ![rowrrbazzle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/rowrrbazzle/32/414_2.png) [@rowrrbazzle](https://boards.straightdope.com/u/rowrrbazzle)\
**Post date:** [May 17, 2017, 3:50am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/12 "2017-05-17T03:50:24Z")

</div>

And here’s a guy who sold them. [https://www.youtube.com/watch?v=hEpSVCYok8s#t=4m](https://www.youtube.com/watch?v=hEpSVCYok8s#t=4m)

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [May 17, 2017, 12:55pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/13 "2017-05-17T12:55:59Z")

</div>

> [@kayaker](#):
>
> Apropos of nothing, there are [chicken blinders](http://i.ebayimg.com/images/g/53kAAOSwDNdVtfdz/s-l300.jpg) that can be used to reduce pecking.

I read that as “chicken bl **e** nders” and thought “Yup, after you run them through the Chicken-o-Matic the answer will reduce to zero”.

[![](https://i.ytimg.com/vi/0BQFv83QJ2Y/hqdefault.jpg "Bass o Matic") ](https://www.youtube.com/watch?v=0BQFv83QJ2Y)

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 17, 2017, 6:10pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/14 "2017-05-17T18:10:03Z")

</div>

Incidentally, here’s another cute fact: the probability that precisely x chickens go unpecked is the same as the probability that precisely 50 - x chickens go unpecked. And thus, by symmetry, the mean number of unpecked chickens is 25.

This symmetry works with the total number of chickens being 100. It doesn’t work analogously with all other possible total numbers of chickens. Can you figure out under what conditions it works and why?

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 17, 2017, 6:25pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/15 "2017-05-17T18:25:32Z")

</div>

To be clear, the mean number of unpecked chickens is n/4 for any n total chickens (n \> 2), by the same “linearity of expectation” argument. It’s just that, for some n, we also get this interesting additional symmetry, which provides an alternate (less generalizable) route to the same answer, and at any rate, is interesting on its own, though it is not available for all n. See if you can find why this symmetry arises and when.

---

<div class="post-metadata">

**Author:** ![Trinopus](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@Trinopus](https://boards.straightdope.com/u/Trinopus)\
**Post date:** [May 17, 2017, 6:37pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/16 "2017-05-17T18:37:31Z")

</div>

What if they’re “all adjacent to all?” Every chick has a chance of pecking every other chick. (Maybe they all promenade past each other, and, at some random point, peck.)

If I’m doing it right, the prob of not getting pecked is 49/50 ^ 50 – and that as the number of chicks rises, the limit of this prob turns to 1/e.

If I’m not doing it right, never mind!

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [May 17, 2017, 8:54pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/17 "2017-05-17T20:54:13Z")

</div>

**Indistinguishable** , if I’m reading you right, the interesting property of 100 is just that 100 is even. Certainly, the property you mention can’t apply to any odd number.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 18, 2017, 4:56am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/18 "2017-05-18T04:56:08Z")

</div>

**Chronos** , you’re right that the condition you give is necessary, but it is not sufficient.

Really, the interesting question I should have just asked is, why do we have this symmetry for the 100 chicken problem? What explains it? And then, in discovering that explanation behind the symmetry, you will also discover what generality it does and doesn’t hold in.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 20, 2017, 10:26pm UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/19 "2017-05-20T22:26:13Z")

</div>

Aw, no takers…

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [May 21, 2017, 1:18am UTC](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696/20 "2017-05-21T01:18:04Z")

</div>

Does your symmetry

have to do with the fact that if I take a cyclic string of length 2k, say eg LLRRLLLL, and I count the number of times it alternates (t=2 in my example), then I flip every other direction (obtaining LRRLLRLR), the resulting string will obviously have 2k-t (=6) alternations? If so, your “interesting additional symmetry” is that n is divisible by 4, by reversing the pecking directions of every other pair of adjacent chicks. However, I do not think **Chronos** is mistaken that the probability of x unpecked chicks is equal to the probability of n/2-x chicks whenever n is even.

[Next page](https://boards.straightdope.com/t/one-hundred-chicks-peck-a-random-neighbor-how-many-go-unpecked/786696.md?page=2)
