We look at the division of 31876637 by 317 
Our goal is to divide 31876637 by 317.

Moving on to step 1:
When dividing 3 by 317, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 317

On to step 2:
317 goes into 31 0 times with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 317

Advancing to step 3:
If we divide 318 by 317, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 317 from 318 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 317

Let's proceed to step 4:
317 goes into 17 0 times with a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we subtract 0 from 17, we get 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 317

Let's proceed to step 5:
176 divided by 317 is 0 with a remainder of 176.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
Subtracting 0 from 176 leaves us with 176.
Bring next digit (6) of the dividend behind the 176 and repeat the process: 1766 / 317

Advancing to step 6:
When dividing 1766 by 317, we get 5 with a remainder of 181.
Record the quotient 5 as the next digit in the result. 
Result so far: 1005.0
Deduct 1585 from 1766 and we're left with 181.
Bring next digit (3) of the dividend behind the 181 and repeat the process: 1813 / 317

Let's proceed to step 7:
1813 divided by 317 is 5 with a remainder of 228.
Put 5 as the next digit of the answer. 
Result so far: 10055.0
If we subtract 1585 from 1813, we get 228.
Fetch the next digit (7) from the dividend, attach it to 228 and continue: 2287 / 317

Moving on to step 8:
317 goes into 2287 7 times with a remainder of 68.
The next digit of our result is 7. 
Result so far: 100557.0
Subtract 2219 from 2287 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 9:
If we divide 680 by 317, we get 2 and a remainder of 46.
Record the quotient 2 as the next digit in the result. 
Result so far: 100557.2
Deduct 634 from 680 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 10:
When dividing 460 by 317, we get 1 with a remainder of 143.
The number 1 becomes the next digit in our result. 
Result so far: 100557.21
If we take 317 away from 460, we end up with 143.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

Step 11:
When dividing 1430 by 317, we get 4 with a remainder of 162.
The number 4 becomes the next digit in our result. 
Result so far: 100557.214
Subtracting 1268 from 1430 leaves us with 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

On to step 12:
1620 divided by 317 is 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 100557.2145
The remainder is 35 after subtracting 1585 from 1620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 13:
317 can be fit into 350 1 times, resulting in a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 100557.21451
Subtract 317 from 350 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 14:
When dividing 330 by 317, we get 1 with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 100557.214511
If we subtract 317 from 330, we 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.

After the division, we end up with 100557.214511 and a remainder of 1.3e-06.