We divide 971858 by 31
We want to divide 971858 by 31.

Advancing to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 31

Step 2:
31 goes into 97 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 93 from 97 leaves us with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 31

Moving on to step 3:
31 goes into 41 1 times with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Subtract 31 from 41 to get 10.
Fetch the next digit (8) from the dividend, attach it to 10 and continue: 108 / 31

Moving on to step 4:
108 divided by 31 is 3 with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 313.0
The remainder is 15 after subtracting 93 from 108.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 31

Step 5:
If we divide 155 by 31, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 3135.0
Subtract 155 from 155 to get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 31

Advancing to step 6:
8 divided by 31 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 31350.0
If we subtract 0 from 8, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
80 divided by 31 is 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 31350.2
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.

Moving on to step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 31350.25
If we take 155 away from 180, we end up 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.

Moving on to step 9:
31 goes into 250 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 31350.258
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 10:
If we divide 20 by 31, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 31350.258
Deduct 0 from 20 and we're left 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 11:
31 goes into 200 6 times with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 31350.25806
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 12:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 31350.258064
If we subtract 124 from 140, we 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.

Going ahead to step 13:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 31350.2580645
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.

Advancing to step 14:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 31350.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Our division results in 31350.25806451 with a remaining 1.9e-08.