Let's divide 831477 by 31
Let's see how many times 31 fits into 831477.

On 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
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (3) from the dividend, add it to 8, then carry on: 83 / 31

Advancing to step 2:
31 goes into 83 2 times with a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 21 after subtracting 62 from 83.
Take the next digit (1) from the dividend and append it to 21, then repeat: 211 / 31

Let's proceed to step 3:
The number 31 fits into 211 6 times, leaving a remainder of 25.
The next digit of our result is 6. 
Result so far: 26.0
If we subtract 186 from 211, we get 25.
Include the next digit (4) from the dividend after 25, then repeat: 254 / 31

Moving on to step 4:
The number 31 fits into 254 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 268.0
If we take 248 away from 254, we end up with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 31

Let's proceed to step 5:
The number 31 fits into 67 2 times, leaving a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2682.0
The remainder is 5 after subtracting 62 from 67.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 31

On to step 6:
When dividing 57 by 31, we get 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 26821.0
If we subtract 31 from 57, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 7:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 26821.8
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
120 divided by 31 is 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 26821.83
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 9:
When dividing 270 by 31, we get 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 26821.838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 10:
220 divided by 31 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 26821.8387
Subtracting 217 from 220 leaves us 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.

On to step 11:
30 divided by 31 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 26821.8387
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
When dividing 300 by 31, we get 9 with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 26821.838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 13:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 26821.8387096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 14:
31 goes into 240 7 times with a remainder of 23.
The next digit of our result is 7. 
Result so far: 26821.83870967
Deduct 217 from 240 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The quotient of the division is 26821.83870967, and the remainder is 2.3e-08.