Let's divide 642031 by 4
We want to divide 642031 by 4.

Moving on to step 1:
When dividing 6 by 4, we get 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 4 from 6, we get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 4

Advancing to step 2:
4 goes into 24 6 times with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
If we take 24 away from 24, we end up with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 4

Moving on to step 3:
If we divide 2 by 4, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 160.0
If we take 0 away from 2, we end up with 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 4

Going ahead to step 4:
4 goes into 20 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 1605.0
If we subtract 20 from 20, we get 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 4

Step 5:
When dividing 3 by 4, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 16050.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 4

Going ahead to step 6:
When dividing 31 by 4, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 160507.0
Deduct 28 from 31 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
When dividing 30 by 4, we get 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 160507.7
Subtract 28 from 30 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
20 divided by 4 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 160507.75
Subtracting 20 from 20 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 160507.75
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 160507.75
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 160507.75 with a remaining 0.0.