We're dividing 31065088 by 638 
We want to figure out the number of times 31065088 can be divided by 638.

Step 1:
The number 638 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 638

Let's proceed to step 2:
638 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Fetch the next digit (0) from the dividend, attach it to 31 and continue: 310 / 638

Advancing to step 3:
When dividing 310 by 638, we get 0 with a remainder of 310.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 310 to get 310.
Take the next digit (6) from the dividend and append it to 310, then repeat: 3106 / 638

Advancing to step 4:
When dividing 3106 by 638, we get 4 with a remainder of 554.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 2552 from 3106, we get 554.
Include the next digit (5) from the dividend after 554, then repeat: 5545 / 638

Moving on to step 5:
5545 divided by 638 is 8 with a remainder of 441.
The next digit of our result is 8. 
Result so far: 48.0
Subtracting 5104 from 5545 leaves us with 441.
Append the next digit (0) from the dividend to 441 and continue with: 4410 / 638

Step 6:
4410 divided by 638 is 6 with a remainder of 582.
Put 6 as the next digit of the answer. 
Result so far: 486.0
Deduct 3828 from 4410 and we're left with 582.
Grab the next digit (8) from the dividend, add it to 582, then carry on: 5828 / 638

Moving on to step 7:
5828 divided by 638 is 9 with a remainder of 86.
Record the quotient 9 as the next digit in the result. 
Result so far: 4869.0
If we subtract 5742 from 5828, we get 86.
Bring next digit (8) of the dividend behind the 86 and repeat the process: 868 / 638

Advancing to step 8:
The number 638 fits into 868 1 times, leaving a remainder of 230.
The number 1 becomes the next digit in our result. 
Result so far: 48691.0
Subtract 638 from 868 to get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Moving on to step 9:
If we divide 2300 by 638, we get 3 and a remainder of 386.
The next digit of our result is 3. 
Result so far: 48691.3
Subtract 1914 from 2300 to get 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Step 10:
638 can be fit into 3860 6 times, resulting in a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 48691.36
Deduct 3828 from 3860 and we're left 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.

Going ahead to step 11:
If we divide 320 by 638, we get 0 and a remainder of 320.
The number 0 becomes the next digit in our result. 
Result so far: 48691.36
The remainder is 320 after subtracting 0 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 12:
638 goes into 3200 5 times with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 48691.3605
If we subtract 3190 from 3200, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
When dividing 100 by 638, we get 0 with a remainder of 100.
Use 0 as the next digit of our solution. 
Result so far: 48691.3605
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Advancing to step 14:
1000 divided by 638 is 1 with a remainder of 362.
Use 1 as the next digit of our solution. 
Result so far: 48691.360501
If we subtract 638 from 1000, we get 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Let's proceed to step 15:
If we divide 3620 by 638, we get 5 and a remainder of 430.
Use 5 as the next digit of our solution. 
Result so far: 48691.3605015
If we subtract 3190 from 3620, we get 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Advancing to step 16:
638 goes into 4300 6 times with a remainder of 472.
Record the quotient 6 as the next digit in the result. 
Result so far: 48691.36050156
Subtracting 3828 from 4300 leaves us with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

After the division, we end up with 48691.36050156 and a remainder of 4.72e-07.