Let's divide 516141 by 31
We want to figure out the number of times 516141 can be divided by 31.

Let's proceed to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 31

On to step 2:
51 divided by 31 is 1 with a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 51, we end up with 20.
Append the next digit (6) from the dividend to 20 and continue with: 206 / 31

Step 3:
31 goes into 206 6 times with a remainder of 20.
The next digit of our result is 6. 
Result so far: 16.0
If we subtract 186 from 206, we get 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 31

Going ahead to step 4:
31 can be fit into 201 6 times, resulting in a remainder of 15.
Record the quotient 6 as the next digit in the result. 
Result so far: 166.0
The remainder is 15 after subtracting 186 from 201.
Include the next digit (4) from the dividend after 15, then repeat: 154 / 31

Let's proceed to step 5:
If we divide 154 by 31, we get 4 and a remainder of 30.
The number 4 becomes the next digit in our result. 
Result so far: 1664.0
Deduct 124 from 154 and we're left with 30.
Bring next digit (1) of the dividend behind the 30 and repeat the process: 301 / 31

Moving on to step 6:
301 divided by 31 is 9 with a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 16649.0
Deduct 279 from 301 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 16649.7
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 16649.7
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
31 can be fit into 300 9 times, resulting in a remainder of 21.
The next digit of our result is 9. 
Result so far: 16649.709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 10:
31 goes into 210 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 16649.7096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
31 goes into 240 7 times with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 16649.70967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 12:
31 can be fit into 230 7 times, resulting in a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 16649.709677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 16649.709677, with a leftover of 1.3e-06.