We divide 413112 by 31
We want to divide 413112 by 31.

Advancing to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 31

Let's proceed to step 2:
When dividing 41 by 31, we get 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 10 after subtracting 31 from 41.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 31

Let's proceed to step 3:
The number 31 fits into 103 3 times, leaving a remainder of 10.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 93 from 103 leaves us with 10.
Fetch the next digit (1) from the dividend, attach it to 10 and continue: 101 / 31

Going ahead to step 4:
When dividing 101 by 31, we get 3 with a remainder of 8.
The next digit of our result is 3. 
Result so far: 133.0
Subtract 93 from 101 to get 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 31

Going ahead to step 5:
If we divide 81 by 31, we get 2 and a remainder of 19.
Write down 2 as next digit of the result. 
Result so far: 1332.0
Subtract 62 from 81 to get 19.
Take the next digit (2) from the dividend and append it to 19, then repeat: 192 / 31

Let's proceed to step 6:
The number 31 fits into 192 6 times, leaving a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 13326.0
If we subtract 186 from 192, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
When dividing 60 by 31, we get 1 with a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 13326.1
If we subtract 31 from 60, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 8:
31 goes into 290 9 times with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 13326.19
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 9:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 13326.193
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
If we divide 170 by 31, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 13326.1935
If we subtract 155 from 170, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
When dividing 150 by 31, we get 4 with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 13326.19354
If we subtract 124 from 150, we get 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 12:
31 goes into 260 8 times with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 13326.193548
Deduct 248 from 260 and we're left with 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 13:
If we divide 120 by 31, we get 3 and a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 13326.1935483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 14:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 13326.19354838
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

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