Let's divide 5116 by 30
Let's see how many times 30 fits into 5116.

Moving on to step 1:
If we divide 5 by 30, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 30

Moving on to step 2:
30 goes into 51 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 30 from 51 and we're left with 21.
Fetch the next digit (1) from the dividend, attach it to 21 and continue: 211 / 30

Moving on to step 3:
30 goes into 211 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 210 from 211 and we're left with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 30

Advancing to step 4:
16 divided by 30 is 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 170.0
If we subtract 0 from 16, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 5:
When dividing 160 by 30, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 170.5
If we take 150 away from 160, we end up 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.

Going ahead to step 6:
100 divided by 30 is 3 with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 170.53
If we take 90 away from 100, we end up 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.

Step 7:
30 goes into 100 3 times with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 170.533
If we subtract 90 from 100, 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.

The quotient of the division is 170.533, and the remainder is 0.001.