We divide 31904 by 38
We're looking to find how many times 38 goes into 31904.

Advancing to step 1:
38 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 38

Going ahead to step 2:
When dividing 31 by 38, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 38

Let's proceed to step 3:
38 can be fit into 319 8 times, resulting in a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 8.0
Deduct 304 from 319 and we're left with 15.
Append the next digit (0) from the dividend to 15 and continue with: 150 / 38

Advancing to step 4:
38 goes into 150 3 times with a remainder of 36.
Record the quotient 3 as the next digit in the result. 
Result so far: 83.0
Subtracting 114 from 150 leaves us with 36.
Take the next digit (4) from the dividend and append it to 36, then repeat: 364 / 38

Advancing to step 5:
38 goes into 364 9 times with a remainder of 22.
The next digit of our result is 9. 
Result so far: 839.0
Subtracting 342 from 364 leaves us 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 6:
If we divide 220 by 38, we get 5 and a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 839.5
Subtracting 190 from 220 leaves us 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.

On to step 7:
The number 38 fits into 300 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 839.57
Subtract 266 from 300 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 8:
340 divided by 38 is 8 with a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 839.578
Subtract 304 from 340 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 9:
38 can be fit into 360 9 times, resulting in a remainder of 18.
The next digit of our result is 9. 
Result so far: 839.5789
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 10:
38 goes into 180 4 times with a remainder of 28.
The next digit of our result is 4. 
Result so far: 839.57894
Subtracting 152 from 180 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
When dividing 280 by 38, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 839.578947
Deduct 266 from 280 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
140 divided by 38 is 3 with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 839.5789473
Subtract 114 from 140 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 13:
If we divide 260 by 38, we get 6 and a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 839.57894736
Subtracting 228 from 260 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The quotient of the division is 839.57894736, and the remainder is 3.2e-08.