We look at the division of 516187 by 30 
We want to figure out the number of times 516187 can be divided by 30.

On to step 1:
When dividing 5 by 30, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 30

Advancing to step 2:
51 divided by 30 is 1 with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 30 from 51 to get 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 30

Going ahead to step 3:
30 can be fit into 216 7 times, resulting in a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Deduct 210 from 216 and we're left with 6.
Fetch the next digit (1) from the dividend, attach it to 6 and continue: 61 / 30

Going ahead to step 4:
If we divide 61 by 30, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 172.0
Subtract 60 from 61 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 30

On to step 5:
The number 30 fits into 18 0 times, leaving a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 1720.0
If we subtract 0 from 18, we get 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 30

Advancing to step 6:
When dividing 187 by 30, we get 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 17206.0
If we subtract 180 from 187, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
30 goes into 70 2 times with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 17206.2
If we subtract 60 from 70, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
30 can be fit into 100 3 times, resulting in a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 17206.23
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
100 divided by 30 is 3 with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 17206.233
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 17206.233 and a remainder of 0.001.