3151897 divided by 38 
We want to divide 3151897 by 38.

Let's proceed to step 1:
3 divided by 38 is 0 with a remainder of 3.
The number 0 becomes the next digit in our 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 / 38

Step 2:
38 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 38

Moving on to step 3:
If we divide 315 by 38, we get 8 and a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 304 from 315, we get 11.
Grab the next digit (1) from the dividend, add it to 11, then carry on: 111 / 38

Moving on to step 4:
38 can be fit into 111 2 times, resulting in a remainder of 35.
Record the quotient 2 as the next digit in the result. 
Result so far: 82.0
If we subtract 76 from 111, we get 35.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 38

Advancing to step 5:
The number 38 fits into 358 9 times, leaving a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 829.0
If we take 342 away from 358, we end up with 16.
Grab the next digit (9) from the dividend, add it to 16, then carry on: 169 / 38

Let's proceed to step 6:
The number 38 fits into 169 4 times, leaving a remainder of 17.
Record the quotient 4 as the next digit in the result. 
Result so far: 8294.0
Deduct 152 from 169 and we're left with 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 38

On to step 7:
When dividing 177 by 38, we get 4 with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 82944.0
Subtract 152 from 177 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
The number 38 fits into 250 6 times, leaving a remainder of 22.
The next digit of our result is 6. 
Result so far: 82944.6
Deduct 228 from 250 and we're left 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.

Advancing to step 9:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 82944.65
The remainder is 30 after subtracting 190 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 10:
If we divide 300 by 38, we get 7 and a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 82944.657
Subtracting 266 from 300 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 11:
If we divide 340 by 38, we get 8 and a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 82944.6578
If we subtract 304 from 340, we 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 12:
When dividing 360 by 38, we get 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 82944.65789
The remainder is 18 after subtracting 342 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 13:
180 divided by 38 is 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 82944.657894
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.

Let's proceed to step 14:
When dividing 280 by 38, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 82944.6578947
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 15:
140 divided by 38 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 82944.65789473
If we subtract 114 from 140, we 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.

After the division, we end up with 82944.65789473 and a remainder of 2.6e-08.