Report question

Question: Sampling in r without consecutive identical digits