Join Nostr
2025-08-24 12:30:06 UTC

Greg Egan on Nostr: Pick two points uniformly at random inside a regular n-gon. For even n≥4, the ...

Pick two points uniformly at random inside a regular n-gon.

For even n≥4, the probability that the line containing them will pass through two opposite sides of the n-gon is:

8/(3n)

For odd or even n≥3, the probability that the line will pass through two adjacent sides is:

16 sin(π/n)^4 /(3n)