Let's divide 31887800 by 626
We want to figure out the number of times 31887800 can be divided by 626.

Moving on to step 1:
If we divide 3 by 626, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 626

Advancing to step 2:
626 goes into 31 0 times with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 626

Going ahead to step 3:
318 divided by 626 is 0 with a remainder of 318.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 318 and we're left with 318.
Grab the next digit (8) from the dividend, add it to 318, then carry on: 3188 / 626

Going ahead to step 4:
If we divide 3188 by 626, we get 5 and a remainder of 58.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 3130 from 3188, we get 58.
Bring next digit (7) of the dividend behind the 58 and repeat the process: 587 / 626

Advancing to step 5:
626 can be fit into 587 0 times, resulting in a remainder of 587.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Deduct 0 from 587 and we're left with 587.
Take the next digit (8) from the dividend and append it to 587, then repeat: 5878 / 626

Let's proceed to step 6:
The number 626 fits into 5878 9 times, leaving a remainder of 244.
Write down 9 as next digit of the result. 
Result so far: 509.0
If we take 5634 away from 5878, we end up with 244.
Append the next digit (0) from the dividend to 244 and continue with: 2440 / 626

On to step 7:
When dividing 2440 by 626, we get 3 with a remainder of 562.
The number 3 becomes the next digit in our result. 
Result so far: 5093.0
If we take 1878 away from 2440, we end up with 562.
Take the next digit (0) from the dividend and append it to 562, then repeat: 5620 / 626

Advancing to step 8:
The number 626 fits into 5620 8 times, leaving a remainder of 612.
Write down 8 as next digit of the result. 
Result so far: 50938.0
Subtracting 5008 from 5620 leaves us with 612.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6120, and continue the process.

Step 9:
626 goes into 6120 9 times with a remainder of 486.
The next digit of our result is 9. 
Result so far: 50938.9
If we take 5634 away from 6120, we end up with 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

Advancing to step 10:
4860 divided by 626 is 7 with a remainder of 478.
Write down 7 as next digit of the result. 
Result so far: 50938.97
Subtract 4382 from 4860 to get 478.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4780, and continue the process.

Moving on to step 11:
If we divide 4780 by 626, we get 7 and a remainder of 398.
Write down 7 as next digit of the result. 
Result so far: 50938.977
If we subtract 4382 from 4780, we get 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Our division results in 50938.977 with a remaining 0.0398.