Let's divide 31592051 by 642
We're looking to find how many times 642 goes into 31592051.

On to step 1:
642 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 642

Moving on to step 2:
When dividing 31 by 642, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Include the next digit (5) from the dividend after 31, then repeat: 315 / 642

On to step 3:
315 divided by 642 is 0 with a remainder of 315.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 315, we get 315.
Include the next digit (9) from the dividend after 315, then repeat: 3159 / 642

Let's proceed to step 4:
The number 642 fits into 3159 4 times, leaving a remainder of 591.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 2568 from 3159 to get 591.
Bring next digit (2) of the dividend behind the 591 and repeat the process: 5912 / 642

Step 5:
5912 divided by 642 is 9 with a remainder of 134.
Use 9 as the next digit of our solution. 
Result so far: 49.0
If we subtract 5778 from 5912, we get 134.
Fetch the next digit (0) from the dividend, attach it to 134 and continue: 1340 / 642

Let's proceed to step 6:
The number 642 fits into 1340 2 times, leaving a remainder of 56.
The next digit of our result is 2. 
Result so far: 492.0
Subtract 1284 from 1340 to get 56.
Fetch the next digit (5) from the dividend, attach it to 56 and continue: 565 / 642

Step 7:
642 can be fit into 565 0 times, resulting in a remainder of 565.
Use 0 as the next digit of our solution. 
Result so far: 4920.0
Subtract 0 from 565 to get 565.
Include the next digit (1) from the dividend after 565, then repeat: 5651 / 642

On to step 8:
When dividing 5651 by 642, we get 8 with a remainder of 515.
Record the quotient 8 as the next digit in the result. 
Result so far: 49208.0
Subtract 5136 from 5651 to get 515.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

Moving on to step 9:
When dividing 5150 by 642, we get 8 with a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 49208.8
Subtracting 5136 from 5150 leaves us 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.

Moving on to step 10:
The number 642 fits into 140 0 times, leaving a remainder of 140.
The next digit of our result is 0. 
Result so far: 49208.8
Subtract 0 from 140 to get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Step 11:
If we divide 1400 by 642, we get 2 and a remainder of 116.
Put 2 as the next digit of the answer. 
Result so far: 49208.802
If we subtract 1284 from 1400, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 12:
When dividing 1160 by 642, we get 1 with a remainder of 518.
Put 1 as the next digit of the answer. 
Result so far: 49208.8021
If we take 642 away from 1160, we end up with 518.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5180, and continue the process.

Let's proceed to step 13:
When dividing 5180 by 642, we get 8 with a remainder of 44.
Put 8 as the next digit of the answer. 
Result so far: 49208.80218
Subtracting 5136 from 5180 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 14:
The number 642 fits into 440 0 times, leaving a remainder of 440.
Put 0 as the next digit of the answer. 
Result so far: 49208.80218
Deduct 0 from 440 and we're left with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Step 15:
If we divide 4400 by 642, we get 6 and a remainder of 548.
Use 6 as the next digit of our solution. 
Result so far: 49208.8021806
Deduct 3852 from 4400 and we're left with 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Moving on to step 16:
When dividing 5480 by 642, we get 8 with a remainder of 344.
Use 8 as the next digit of our solution. 
Result so far: 49208.80218068
Subtract 5136 from 5480 to get 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

The final result is 49208.80218068 with a remainder of 3.44e-07.