We look at the division of 645882 by 31 
We want to figure out the number of times 645882 can be divided by 31.

Going ahead to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 31

Moving on to step 2:
If we divide 64 by 31, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 64 and we're left with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 31

Going ahead to step 3:
31 can be fit into 25 0 times, resulting in a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
The remainder is 25 after subtracting 0 from 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 31

Let's proceed to step 4:
31 can be fit into 258 8 times, resulting in a remainder of 10.
The next digit of our result is 8. 
Result so far: 208.0
Deduct 248 from 258 and we're left with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 31

On to step 5:
If we divide 108 by 31, we get 3 and a remainder of 15.
The next digit of our result is 3. 
Result so far: 2083.0
Subtract 93 from 108 to get 15.
Include the next digit (2) from the dividend after 15, then repeat: 152 / 31

Going ahead to step 6:
31 goes into 152 4 times with a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 20834.0
Subtracting 124 from 152 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 7:
If we divide 280 by 31, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 20834.9
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
When dividing 10 by 31, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 20834.9
Subtract 0 from 10 to 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.

Going ahead to step 9:
100 divided by 31 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 20834.903
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 10:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 20834.9032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 11:
31 goes into 80 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 20834.90322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 20834.90322, and the remainder is 1.8e-05.