Perhaps a rather elementary question, but I simply couldn't figure out the calculations on this one. Say one takes a circle centered at the origin with radius $R$. He or she then proceeds to place $N$ circles with radius $r$ ($R > r$) on the larger circles circumference equidistantly, so every $2 \pi / N$ in the angular sense. What is then the relationship between $R$ and $r$ such that all neighboring circles exactly touch?
I've been trying to write down some equations with arc lengths and such for $N = 4$, but I can't seem to get anything sensible out of it.
If two circles are tangent (just touch) then the distance between their centers is the sum of their radii, in your case $2r$. Since these centers are also on the circumference of the larger circle, they are distance $R$ from the center of the large circle. This makes a triangle between the three centers, in which two sides are known ($R$ and $R$ from the center of the large circle the the centers of the smaller circles) and the angle between them ($2 \pi/N$ being the angular distance between the smaller circles) and so using the law of cosines one can solve for the third side (which will be $2r$, twice the smaller circle's radius).
Doing the math, I get that $r/R$ is $\sqrt{(1- \cos \alpha)/2}$ where $\alpha$ is $2 \pi/N$.