We divide 856641 by 31
We want to divide 856641 by 31.

Let's proceed to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 31

On to step 2:
31 goes into 85 2 times with a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 23 after subtracting 62 from 85.
Fetch the next digit (6) from the dividend, attach it to 23 and continue: 236 / 31

Step 3:
When dividing 236 by 31, we get 7 with a remainder of 19.
Put 7 as the next digit of the answer. 
Result so far: 27.0
The remainder is 19 after subtracting 217 from 236.
Fetch the next digit (6) from the dividend, attach it to 19 and continue: 196 / 31

Advancing to step 4:
31 can be fit into 196 6 times, resulting in a remainder of 10.
Put 6 as the next digit of the answer. 
Result so far: 276.0
If we subtract 186 from 196, we get 10.
Take the next digit (4) from the dividend and append it to 10, then repeat: 104 / 31

Step 5:
31 goes into 104 3 times with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 2763.0
If we subtract 93 from 104, we get 11.
Grab the next digit (1) from the dividend, add it to 11, then carry on: 111 / 31

Advancing to step 6:
31 goes into 111 3 times with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 27633.0
If we subtract 93 from 111, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
31 can be fit into 180 5 times, resulting in a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 27633.5
Subtract 155 from 180 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 8:
31 goes into 250 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 27633.58
If we subtract 248 from 250, we 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.

Step 9:
20 divided by 31 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 27633.58
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
200 divided by 31 is 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 27633.5806
Deduct 186 from 200 and we're left 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.

On to step 11:
31 goes into 140 4 times with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 27633.58064
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
160 divided by 31 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27633.580645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 27633.5806451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 14:
If we divide 190 by 31, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 27633.58064516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 27633.58064516 and a remainder of 4e-09.