The parametric equations for hypotrochoids produced by the "spirograph" toy are given by (source: wikipedia):
$x(t) = R((1-k)\cos t + l k \cos (\frac{1-k}{k}t)$
$y(t) = R((1-k)\sin t - l k \sin (\frac{1-k}{k}t)$
For a given $R$, $k$ and $l$, can I determine at what value of $t$ the figure will start repeating? This is to aid in drawing it.