Question Details

Question No: 425

Each vertex of a regular octagon is independently colored either red or blue with equal probability. The probability that the octagon can then be rotated so that all of the blue vertices end up at positions where there had been red vertices is $\tfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m+n$.

Answer must be a floating-point or integer value and precision error less than 10^-6 is allowed.


Editorial
Tags: Combinatorics