38720 divided by 31 
We want to figure out the number of times 38720 can be divided by 31.

Let's proceed to step 1:
31 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 31

On to step 2:
38 divided by 31 is 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 38, we end up with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 31

Let's proceed to step 3:
If we divide 77 by 31, we get 2 and a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtract 62 from 77 to get 15.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 31

Step 4:
31 can be fit into 152 4 times, resulting in a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 124.0
The remainder is 28 after subtracting 124 from 152.
Bring next digit (0) of the dividend behind the 28 and repeat the process: 280 / 31

On to step 5:
280 divided by 31 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 1249.0
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 6:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 1249.0
If we subtract 0 from 10, 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.

Advancing to step 7:
If we divide 100 by 31, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 1249.03
The remainder is 7 after subtracting 93 from 100.
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 8:
70 divided by 31 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 1249.032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
31 goes into 80 2 times with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 1249.0322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 1249.0322, with a leftover of 0.00018.