2023 MOAA Accuracy P8
Source:
October 13, 2023
MOAA 2023
Problem Statement
Harry wants to label the points of a regular octagon with numbers and label the edges with . There are special rules he must follow: If an edge is numbered even, then the sum of the numbers of its endpoints must also be even.
If an edge is numbered odd, then the sum of the numbers of its endpoints must also be odd.Two octagon labelings are equivalent if they can be made equal up to rotation, but not up to reflection. If is the number of possible octagon labelings, find the remainder when is divided by .Proposed by Harry Kim