Semi random positions image

Hello all,

I want to create a Trail making test. So, I was thinking about putting an image of a circle with number 1 writen in the circle and many other circle with number from 1-10.

I want the positions of the images to be semi-random.

  1. I want that the sum between 1-2, 2-3, 3-4… to be equal to a certain distance

  2. I want a minimal distance between all the circles

Do you have ideas how to do that ?

Thanks!!