38031087 ÷ 126 
We're looking to find how many times 126 goes into 38031087.

Moving on to step 1:
126 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 126

Moving on to step 2:
38 divided by 126 is 0 with a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Append the next digit (0) from the dividend to 38 and continue with: 380 / 126

Going ahead to step 3:
When dividing 380 by 126, we get 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 2 after subtracting 378 from 380.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 126

On to step 4:
126 can be fit into 23 0 times, resulting in a remainder of 23.
The next digit of our result is 0. 
Result so far: 30.0
The remainder is 23 after subtracting 0 from 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 126

Let's proceed to step 5:
The number 126 fits into 231 1 times, leaving a remainder of 105.
Use 1 as the next digit of our solution. 
Result so far: 301.0
If we subtract 126 from 231, we get 105.
Include the next digit (0) from the dividend after 105, then repeat: 1050 / 126

Advancing to step 6:
The number 126 fits into 1050 8 times, leaving a remainder of 42.
Use 8 as the next digit of our solution. 
Result so far: 3018.0
Subtracting 1008 from 1050 leaves us with 42.
Fetch the next digit (8) from the dividend, attach it to 42 and continue: 428 / 126

On to step 7:
126 goes into 428 3 times with a remainder of 50.
Record the quotient 3 as the next digit in the result. 
Result so far: 30183.0
Subtract 378 from 428 to get 50.
Take the next digit (7) from the dividend and append it to 50, then repeat: 507 / 126

Moving on to step 8:
507 divided by 126 is 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 301834.0
If we subtract 504 from 507, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 9:
When dividing 30 by 126, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 301834.0
Deduct 0 from 30 and we're left 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.

Let's proceed to step 10:
If we divide 300 by 126, we get 2 and a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 301834.02
If we take 252 away from 300, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 11:
When dividing 480 by 126, we get 3 with a remainder of 102.
Put 3 as the next digit of the answer. 
Result so far: 301834.023
If we subtract 378 from 480, we get 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Moving on to step 12:
1020 divided by 126 is 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 301834.0238
Subtract 1008 from 1020 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 13:
When dividing 120 by 126, we get 0 with a remainder of 120.
The next digit of our result is 0. 
Result so far: 301834.0238
Deduct 0 from 120 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 14:
126 goes into 1200 9 times with a remainder of 66.
Write down 9 as next digit of the result. 
Result so far: 301834.023809
If we subtract 1134 from 1200, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 15:
660 divided by 126 is 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 301834.0238095
Subtracting 630 from 660 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.

Moving on to step 16:
The number 126 fits into 300 2 times, leaving a remainder of 48.
The number 2 becomes the next digit in our result. 
Result so far: 301834.02380952
Deduct 252 from 300 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The quotient of the division is 301834.02380952, and the remainder is 4.8e-08.