Problem

Source:

Tags: geometry, combinatorics, combinatorial geometry, geometric transformation, rotation



A frog can “jump around” a point in the following way: if a frog at point $M$ jumps around point $N$, it lands on the point of rotation of $M$ that is $120^o$ anti-clockwise about $N$ (i.e. if the point of landing is $M'$, then $NM = NM'$ and $\angle MNM' = 120^o$ in directed angle). A frog is initially at point $X$. $A$, $B$, $C$ are points such that $X$, $A$, $B$ and $C$ are on the same plane and $XA = 10$, $AB = 15$. The frog first jumps around $A$, then around $B$, then around $C$, and then continues to jump over around $A$, $B$ and $C$ alternately. After $420$ jumps, the frog return the its original position at point $X$. The maximum possible value of $XC$ is $p$ and the minimum possible value of $XC$ is $q$. Enter $p^2 - q^2$.