Hi, i already create a 5 random numbers (10000-99999), but i need to prevent a two consecutive numbers on the output. for example the output is ‘85889’ and there are two consecutive “8” here between 5 and 9. Is it possible to prevent a consecutive numbers?

# Generate Random Numbers without two consecutive numbers

**Aron_Claudio**#4

hi @nwhitmor , i think your solution works, but can you explain me how it works. i tried to read the steps but i cant understand how it works, but it works

thanks