331881 ÷ 31 
Our goal is to divide 331881 by 31.

Moving on to step 1:
3 divided by 31 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 31

Moving on to step 2:
When dividing 33 by 31, we get 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 2 after subtracting 31 from 33.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 31

Step 3:
31 can be fit into 21 0 times, resulting in a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we take 0 away from 21, we end up with 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 31

On to step 4:
218 divided by 31 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 107.0
If we take 217 away from 218, we end up with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 31

Going ahead to step 5:
If we divide 18 by 31, we get 0 and a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 1070.0
If we take 0 away from 18, we end up with 18.
Take the next digit (1) from the dividend and append it to 18, then repeat: 181 / 31

Advancing to step 6:
The number 31 fits into 181 5 times, leaving a remainder of 26.
Write down 5 as next digit of the result. 
Result so far: 10705.0
Deduct 155 from 181 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 7:
When dividing 260 by 31, we get 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 10705.8
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 10705.83
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 9:
If we divide 270 by 31, we get 8 and a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 10705.838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 10:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 10705.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.

Moving on to step 11:
When dividing 30 by 31, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 10705.8387
If we subtract 0 from 30, we 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.

Going ahead to step 12:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 10705.838709
Subtracting 279 from 300 leaves us 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.

Step 13:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 10705.8387096
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 14:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 10705.83870967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

After the division, we end up with 10705.83870967 and a remainder of 2.3e-08.