977351 ÷ 31 
We want to divide 977351 by 31.

Let's proceed to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 31

Going ahead to step 2:
31 can be fit into 97 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 93 from 97 leaves us with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 31

Let's proceed to step 3:
The number 31 fits into 47 1 times, leaving a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 31.0
If we subtract 31 from 47, we get 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 31

Let's proceed to step 4:
If we divide 163 by 31, we get 5 and a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 315.0
The remainder is 8 after subtracting 155 from 163.
Bring next digit (5) of the dividend behind the 8 and repeat the process: 85 / 31

Going ahead to step 5:
If we divide 85 by 31, we get 2 and a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 3152.0
Deduct 62 from 85 and we're left with 23.
Bring next digit (1) of the dividend behind the 23 and repeat the process: 231 / 31

Let's proceed to step 6:
31 can be fit into 231 7 times, resulting in a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 31527.0
If we take 217 away from 231, we end up 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 7:
140 divided by 31 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 31527.4
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.

Let's proceed to step 8:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 31527.45
Subtracting 155 from 160 leaves us 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.

On to step 9:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 31527.451
Subtract 31 from 50 to 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.

Step 10:
When dividing 190 by 31, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 31527.4516
If we take 186 away from 190, we end up 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.

Moving on to step 11:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 31527.45161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 12:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 31527.451612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 13:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 31527.4516129
Subtract 279 from 280 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 14:
10 divided by 31 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 31527.4516129
If we subtract 0 from 10, we 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.

The final outcome is 31527.4516129, with a leftover of 1e-08.