Let's divide 38156873 by 874
We want to divide 38156873 by 874.

Advancing to step 1:
The number 874 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 874

Moving on to step 2:
The number 874 fits into 38 0 times, leaving a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Include the next digit (1) from the dividend after 38, then repeat: 381 / 874

Advancing to step 3:
874 can be fit into 381 0 times, resulting in a remainder of 381.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 381, we end up with 381.
Take the next digit (5) from the dividend and append it to 381, then repeat: 3815 / 874

Step 4:
874 can be fit into 3815 4 times, resulting in a remainder of 319.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 319 after subtracting 3496 from 3815.
Bring next digit (6) of the dividend behind the 319 and repeat the process: 3196 / 874

Going ahead to step 5:
3196 divided by 874 is 3 with a remainder of 574.
Use 3 as the next digit of our solution. 
Result so far: 43.0
If we subtract 2622 from 3196, we get 574.
Fetch the next digit (8) from the dividend, attach it to 574 and continue: 5748 / 874

Going ahead to step 6:
If we divide 5748 by 874, we get 6 and a remainder of 504.
The next digit of our result is 6. 
Result so far: 436.0
Subtracting 5244 from 5748 leaves us with 504.
Bring next digit (7) of the dividend behind the 504 and repeat the process: 5047 / 874

Going ahead to step 7:
874 can be fit into 5047 5 times, resulting in a remainder of 677.
Record the quotient 5 as the next digit in the result. 
Result so far: 4365.0
If we take 4370 away from 5047, we end up with 677.
Include the next digit (3) from the dividend after 677, then repeat: 6773 / 874

Let's proceed to step 8:
874 goes into 6773 7 times with a remainder of 655.
Use 7 as the next digit of our solution. 
Result so far: 43657.0
Subtract 6118 from 6773 to get 655.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6550, and continue the process.

Advancing to step 9:
874 goes into 6550 7 times with a remainder of 432.
The number 7 becomes the next digit in our result. 
Result so far: 43657.7
If we subtract 6118 from 6550, we get 432.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

Let's proceed to step 10:
874 can be fit into 4320 4 times, resulting in a remainder of 824.
Write down 4 as next digit of the result. 
Result so far: 43657.74
Subtracting 3496 from 4320 leaves us with 824.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8240, and continue the process.

Going ahead to step 11:
874 can be fit into 8240 9 times, resulting in a remainder of 374.
Put 9 as the next digit of the answer. 
Result so far: 43657.749
If we take 7866 away from 8240, we end up with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

On to step 12:
3740 divided by 874 is 4 with a remainder of 244.
Put 4 as the next digit of the answer. 
Result so far: 43657.7494
Deduct 3496 from 3740 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Let's proceed to step 13:
If we divide 2440 by 874, we get 2 and a remainder of 692.
Record the quotient 2 as the next digit in the result. 
Result so far: 43657.74942
Subtracting 1748 from 2440 leaves us with 692.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6920, and continue the process.

Let's proceed to step 14:
When dividing 6920 by 874, we get 7 with a remainder of 802.
Write down 7 as next digit of the result. 
Result so far: 43657.749427
Subtracting 6118 from 6920 leaves us with 802.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8020, and continue the process.

Moving on to step 15:
874 can be fit into 8020 9 times, resulting in a remainder of 154.
The next digit of our result is 9. 
Result so far: 43657.7494279
Subtracting 7866 from 8020 leaves us with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Step 16:
When dividing 1540 by 874, we get 1 with a remainder of 666.
Use 1 as the next digit of our solution. 
Result so far: 43657.74942791
If we take 874 away from 1540, we end up with 666.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6660, and continue the process.

The quotient of the division is 43657.74942791, and the remainder is 6.66e-07.