
Each vertex of a regular octagon is coloured either red or blue with equal probability. This market resolves yes if the octagon can then be rotated in such a way that all of the blue vertices end up at points that were originally red.
Formally, I will use @FairlyRandom to generate a random integer from 1 to 1,000,000 inclusive as a seed SEED. Then I will run the following python program with said seed inserted.
```
import random
random.seed(SEED) # Inserted here
s = [random.choice([0,1]) for _ in range(8)]
print(s)
rotation = False
for i in range(8):
b = True
for j in range(8):
if (s[j%8] == 1 and s[(i+j)%8] == 1):
b = False
break
if (b):
rotation = True
break
if rotation:
print("Rotation Exists")
else:
print("Rotation Does Not Exist")
```
🏅 Top traders
# | Name | Total profit |
---|---|---|
1 | Ṁ14 | |
2 | Ṁ2 |
@Incompleteusern your random number is: 893899
Salt: wdjox85zxni, round: 4602245 (signature 82bfcdb9321f862a58d95247dbb2af10bbce36122fbb161031aeb0211fd24926b973d02fec9029c625f56ecec910148b0d209d2ca5d4e47d57853c32182ae91f2158cf43c8fac55ceedc6224740c5889eef38b4202b98e375be22f8d62720589)
@Incompleteusern you asked for a random integer between 1 and 1000000, inclusive. Coming up shortly!
Source: GitHub, previous round: 4602243 (latest), offset: 2, selected round: 4602245, salt: wdjox85zxni.