977916 divided by 31 
We want to divide 977916 by 31.

Going ahead to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Write down 0 as next digit of the result. 
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:
97 divided by 31 is 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 97 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 31

Moving on to step 3:
31 can be fit into 47 1 times, resulting in a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we subtract 31 from 47, we get 16.
Bring next digit (9) of the dividend behind the 16 and repeat the process: 169 / 31

Moving on to step 4:
When dividing 169 by 31, we get 5 with a remainder of 14.
Record the quotient 5 as the next digit in the result. 
Result so far: 315.0
If we subtract 155 from 169, we get 14.
Take the next digit (1) from the dividend and append it to 14, then repeat: 141 / 31

Advancing to step 5:
If we divide 141 by 31, we get 4 and a remainder of 17.
Put 4 as the next digit of the answer. 
Result so far: 3154.0
Subtract 124 from 141 to get 17.
Take the next digit (6) from the dividend and append it to 17, then repeat: 176 / 31

Step 6:
If we divide 176 by 31, we get 5 and a remainder of 21.
Use 5 as the next digit of our solution. 
Result so far: 31545.0
If we take 155 away from 176, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 7:
31 goes into 210 6 times with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 31545.6
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 8:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 31545.67
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 31545.677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 31545.677, and the remainder is 0.0013.