# Ants in the Neighborhood

> Is Jane Street run by soccer-loving ants? Inconclusive. We *can* conclude that they're fans of Markov Chains, though — an invaluable tool for understanding complex data structures.

- Page: https://blog.chaoticgood.computer/content/notes/ants-in-the-neighborhood
- Author: Spencer Elkington
- Published: 2026-02-02
- Updated: 2026-11-04
- Tags: engineering/data, projects/games/the-neighborhood, projects/a-pattern-language, writing/fragments

---

This post is a half-completed1 write-up of a [Jane Street](https://www.janestreet.com/puzzles/andys-morning-stroll-index/) problem about an ant traversing a soccer ball that I found particularly interesting. I found the answer awhile ago (it’s all Markov chains and isomorphism, *baybeeee!*), and thought that the analysis would actually be a fun application to the graphs formed by the [Pattern Languages](https://blog.chaoticgood.computer/content/notes/pattern-languages-of-the-neighborhood) project.

I may or may not get around to finishing this at some point, if the spark lights, or I end up wanting to take a crack at its [sequel problem](https://www.janestreet.com/puzzles/andys-afternoon-amble-index/). If you are interested, you should definitely [reach out!](https://blog.chaoticgood.computer/contact) Until then, though, appreciate some wonderful random walks and out-of-context diagrams.

Steps: 0

Current: A

Steps: 0

Current: P

Steps: 0

Current: P

![Pasted image 20260202231208](https://blog.chaoticgood.computer/_astro/Pasted%20image%2020260202231208.CKTXXtVx_Z1W1Vpj.webp)

![7B6FEA8A-188C-482C-B5B2-921E0598A456_1_201_a](https://blog.chaoticgood.computer/_astro/7B6FEA8A-188C-482C-B5B2-921E0598A456_1_201_a.C45WJZA-_hNh8L.webp)

![5B008E77-DF70-46D2-8D0D-B43A7096A39E_1_201_a](https://blog.chaoticgood.computer/_astro/5B008E77-DF70-46D2-8D0D-B43A7096A39E_1_201_a.BYaM7I3y_22CCRz.webp)

![0D1622A6-2914-4A11-A8E6-3DE0B4417BA4_1_201_a](https://blog.chaoticgood.computer/_astro/0D1622A6-2914-4A11-A8E6-3DE0B4417BA4_1_201_a.b-IoRkIe_Zm1Mho.webp)

![8C923F4F-DD40-4E73-ADD2-38E7AF9B4B5A_1_201_a](https://blog.chaoticgood.computer/_astro/8C923F4F-DD40-4E73-ADD2-38E7AF9B4B5A_1_201_a.U84odBzm_3TRXN.webp)

## Footnotes

1.  “half-completed” may be a generous overestimate. ↩
