Select a spiral row of circles in Grasshopper

Hi, I have a radial pattern of circles whose radii increase gradually from inside to outside. I want to select one continuous row of circles that follows a spiral path, as shown by the colored circles in the attached image.

spiral.gh (38.6 KB)

What is the best Grasshopper method to to create spiral in group of three.
I prefer a native Grasshopper solution. Any advice or example definition would be appreciated.
THank you

Hi

please internalize your GH file.

Hy, this is only for the giving colour to surfaces, which i have selected manually

make sure everything has nice index / indices.
so you will have circles with index 0 at the x-axis (green)
then the indices of one spiral will step by Math.Floor(circleIndex /2.0).

EDIT

see attached .gh file

the main logic is the one in the expression.
don t hesitate ask if there are more questions.

spiral_in_loop_pattern_00_tp.gh (7.9 KB)

Thanks @Tom_P! I was quite close, but I was using the list as flat, which is why it wasn’t working for me.

Thank you again!