We look at the division of 31374478 by 617 
We want to divide 31374478 by 617.

Going ahead to step 1:
617 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 617

Moving on to step 2:
617 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 617

Moving on to step 3:
If we divide 313 by 617, we get 0 and a remainder of 313.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Fetch the next digit (7) from the dividend, attach it to 313 and continue: 3137 / 617

Let's proceed to step 4:
If we divide 3137 by 617, we get 5 and a remainder of 52.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 3085 from 3137, we get 52.
Take the next digit (4) from the dividend and append it to 52, then repeat: 524 / 617

Going ahead to step 5:
617 goes into 524 0 times with a remainder of 524.
The next digit of our result is 0. 
Result so far: 50.0
Subtract 0 from 524 to get 524.
Take the next digit (4) from the dividend and append it to 524, then repeat: 5244 / 617

Going ahead to step 6:
617 goes into 5244 8 times with a remainder of 308.
The next digit of our result is 8. 
Result so far: 508.0
The remainder is 308 after subtracting 4936 from 5244.
Include the next digit (7) from the dividend after 308, then repeat: 3087 / 617

Advancing to step 7:
617 can be fit into 3087 5 times, resulting in a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 5085.0
Deduct 3085 from 3087 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 617

On to step 8:
617 goes into 28 0 times with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 50850.0
If we subtract 0 from 28, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
617 goes into 280 0 times with a remainder of 280.
Put 0 as the next digit of the answer. 
Result so far: 50850.0
If we subtract 0 from 280, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Step 10:
2800 divided by 617 is 4 with a remainder of 332.
Put 4 as the next digit of the answer. 
Result so far: 50850.04
Subtract 2468 from 2800 to get 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Moving on to step 11:
617 can be fit into 3320 5 times, resulting in a remainder of 235.
Put 5 as the next digit of the answer. 
Result so far: 50850.045
The remainder is 235 after subtracting 3085 from 3320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Let's proceed to step 12:
2350 divided by 617 is 3 with a remainder of 499.
Put 3 as the next digit of the answer. 
Result so far: 50850.0453
Deduct 1851 from 2350 and we're left with 499.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4990, and continue the process.

Moving on to step 13:
When dividing 4990 by 617, we get 8 with a remainder of 54.
The number 8 becomes the next digit in our result. 
Result so far: 50850.04538
If we subtract 4936 from 4990, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 14:
When dividing 540 by 617, we get 0 with a remainder of 540.
The number 0 becomes the next digit in our result. 
Result so far: 50850.04538
If we subtract 0 from 540, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Moving on to step 15:
If we divide 5400 by 617, we get 8 and a remainder of 464.
Record the quotient 8 as the next digit in the result. 
Result so far: 50850.0453808
Subtracting 4936 from 5400 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Let's proceed to step 16:
The number 617 fits into 4640 7 times, leaving a remainder of 321.
Put 7 as the next digit of the answer. 
Result so far: 50850.04538087
Subtract 4319 from 4640 to get 321.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

The final outcome is 50850.04538087, with a leftover of 3.21e-07.