Let's divide 823571 by 31
We want to divide 823571 by 31.

Advancing to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 31

Let's proceed to step 2:
31 goes into 82 2 times with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 82, we end up with 20.
Take the next digit (3) from the dividend and append it to 20, then repeat: 203 / 31

Advancing to step 3:
31 can be fit into 203 6 times, resulting in a remainder of 17.
The next digit of our result is 6. 
Result so far: 26.0
Subtracting 186 from 203 leaves us with 17.
Include the next digit (5) from the dividend after 17, then repeat: 175 / 31

On to step 4:
The number 31 fits into 175 5 times, leaving a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 265.0
Subtracting 155 from 175 leaves us with 20.
Include the next digit (7) from the dividend after 20, then repeat: 207 / 31

Step 5:
31 can be fit into 207 6 times, resulting in a remainder of 21.
Write down 6 as next digit of the result. 
Result so far: 2656.0
Deduct 186 from 207 and we're left with 21.
Fetch the next digit (1) from the dividend, attach it to 21 and continue: 211 / 31

Step 6:
31 can be fit into 211 6 times, resulting in a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 26566.0
Deduct 186 from 211 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 7:
The number 31 fits into 250 8 times, leaving a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 26566.8
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 26566.8
Subtracting 0 from 20 leaves us 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.

Moving on to step 9:
31 goes into 200 6 times with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 26566.806
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.

Step 10:
31 goes into 140 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 26566.8064
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
160 divided by 31 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 26566.80645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 12:
When dividing 50 by 31, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 26566.806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 13:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 26566.8064516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 14:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 26566.80645161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Our division results in 26566.80645161 with a remaining 9e-09.