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

Step 1:
31 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 31

Step 2:
The number 31 fits into 97 3 times, leaving a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 93 from 97, we get 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 31

Advancing to step 3:
31 goes into 43 1 times with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 31.0
The remainder is 12 after subtracting 31 from 43.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 31

Going ahead to step 4:
31 goes into 128 4 times with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 314.0
Subtract 124 from 128 to get 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 31

Moving on to step 5:
The number 31 fits into 42 1 times, leaving a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 3141.0
Subtracting 31 from 42 leaves us with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 31

Let's proceed to step 6:
If we divide 111 by 31, we get 3 and a remainder of 18.
Put 3 as the next digit of the answer. 
Result so far: 31413.0
The remainder is 18 after subtracting 93 from 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
31 goes into 180 5 times with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 31413.5
Subtracting 155 from 180 leaves us 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.

Step 8:
If we divide 250 by 31, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 31413.58
Subtract 248 from 250 to get 2.
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 9:
20 divided by 31 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 31413.58
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 31413.5806
If we take 186 away from 200, 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.

On to step 11:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 31413.58064
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.

Let's proceed to step 12:
When dividing 160 by 31, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 31413.580645
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.

Advancing to step 13:
50 divided by 31 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 31413.5806451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 14:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 31413.58064516
Deduct 186 from 190 and we're left 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.

After the division, we end up with 31413.58064516 and a remainder of 4e-09.