PROJECT EULER · #0430
Range Flips
Each disk has a black side and white side. Initially all disks show their white side.
At each turn, two, not necessarily distinct, integers
All disks with an index from
The following example shows the case

Let
We can verify that
Find
Give your answer rounded to
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.