We divide 31366 by 38
We want to divide 31366 by 38.

Advancing to step 1:
38 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 38

On to step 2:
31 divided by 38 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 38

Step 3:
If we divide 313 by 38, we get 8 and a remainder of 9.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtracting 304 from 313 leaves us with 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 38

Let's proceed to step 4:
96 divided by 38 is 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 82.0
Subtracting 76 from 96 leaves us with 20.
Fetch the next digit (6) from the dividend, attach it to 20 and continue: 206 / 38

Advancing to step 5:
38 can be fit into 206 5 times, resulting in a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 825.0
If we subtract 190 from 206, 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 6:
38 goes into 160 4 times with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 825.4
Subtract 152 from 160 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
80 divided by 38 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 825.42
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 825.421
If we take 38 away from 40, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
If we divide 20 by 38, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 825.421
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
38 can be fit into 200 5 times, resulting in a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 825.42105
If we take 190 away from 200, 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 11:
100 divided by 38 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 825.421052
Deduct 76 from 100 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 12:
When dividing 240 by 38, we get 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 825.4210526
The remainder is 12 after subtracting 228 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
When dividing 120 by 38, we get 3 with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 825.42105263
Deduct 114 from 120 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

In conclusion, the division gives 825.42105263 with a balance of 6e-09.