416038 ÷ 31 
We want to divide 416038 by 31.

On to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 31

Moving on to step 2:
If we divide 41 by 31, we get 1 and a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 31 from 41 and we're left with 10.
Bring next digit (6) of the dividend behind the 10 and repeat the process: 106 / 31

Moving on to step 3:
The number 31 fits into 106 3 times, leaving a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtract 93 from 106 to get 13.
Bring next digit (0) of the dividend behind the 13 and repeat the process: 130 / 31

Step 4:
If we divide 130 by 31, we get 4 and a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 134.0
Subtracting 124 from 130 leaves us with 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 31

On to step 5:
63 divided by 31 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 1342.0
The remainder is 1 after subtracting 62 from 63.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 31

Moving on to step 6:
The number 31 fits into 18 0 times, leaving a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 13420.0
Deduct 0 from 18 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
The number 31 fits into 180 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 13420.5
If we take 155 away from 180, we end up 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.

Let's proceed to step 8:
250 divided by 31 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 13420.58
If we subtract 248 from 250, we 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.

Let's proceed to step 9:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 13420.58
If we take 0 away from 20, we end up with 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.
Record the quotient 6 as the next digit in the result. 
Result so far: 13420.5806
Deduct 186 from 200 and we're left 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:
31 goes into 140 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 13420.58064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
160 divided by 31 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 13420.580645
Deduct 155 from 160 and we're left 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:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 13420.5806451
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.

On to step 14:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 13420.58064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 13420.58064516, and the remainder is 4e-09.