Given a segment $AB$ of length $1$, define the set $M$ of points in the following way: it contains the two points $A,B$ and also all points obtained from $A,B$ iterating the following rule: for every pair of points $X,Y$ in $M$, the set $M$ also contains the point $Z$ of the segment $XY$ for which $YZ = 3XZ$. Prove by induction that the set $M$ consists of points $X$ from the segment $AB$ for which the distance from the point $A$ is either $$AX = \dfrac{3k}{4^n} \hspace{3 mm} \text{or} \hspace{3 mm}AX = \dfrac{3k-2}{4^n}$$ where $n,k$ are nonnegative integers.
I am confused by this question since I am not used to doing induction geometrically. Seeing as how we have to iterate each time a new point, I find it hard to formalize an inductive argument to prove this.