Generate random value with a distance between them

Yes. Just keep generating random numbers until you get one you like.

There is no way to tell the random() function that you want a number that isn't really random.

Steve