40471427 ÷ 111 
Our goal is to divide 40471427 by 111.

Going ahead to step 1:
111 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 111

On to step 2:
111 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 111

On to step 3:
404 divided by 111 is 3 with a remainder of 71.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 333 from 404 and we're left with 71.
Include the next digit (7) from the dividend after 71, then repeat: 717 / 111

Advancing to step 4:
When dividing 717 by 111, we get 6 with a remainder of 51.
Use 6 as the next digit of our solution. 
Result so far: 36.0
If we take 666 away from 717, we end up with 51.
Take the next digit (1) from the dividend and append it to 51, then repeat: 511 / 111

Advancing to step 5:
The number 111 fits into 511 4 times, leaving a remainder of 67.
Use 4 as the next digit of our solution. 
Result so far: 364.0
The remainder is 67 after subtracting 444 from 511.
Include the next digit (4) from the dividend after 67, then repeat: 674 / 111

Step 6:
When dividing 674 by 111, we get 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 3646.0
Subtract 666 from 674 to get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 111

Going ahead to step 7:
82 divided by 111 is 0 with a remainder of 82.
The next digit of our result is 0. 
Result so far: 36460.0
If we subtract 0 from 82, we get 82.
Include the next digit (7) from the dividend after 82, then repeat: 827 / 111

Advancing to step 8:
If we divide 827 by 111, we get 7 and a remainder of 50.
Put 7 as the next digit of the answer. 
Result so far: 364607.0
If we take 777 away from 827, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 9:
111 can be fit into 500 4 times, resulting in a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 364607.4
If we take 444 away from 500, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 10:
111 can be fit into 560 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 364607.45
The remainder is 5 after subtracting 555 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
50 divided by 111 is 0 with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 364607.45
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 12:
The number 111 fits into 500 4 times, leaving a remainder of 56.
Put 4 as the next digit of the answer. 
Result so far: 364607.4504
If we subtract 444 from 500, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 13:
The number 111 fits into 560 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 364607.45045
The remainder is 5 after subtracting 555 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 14:
The number 111 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 364607.45045
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 15:
111 goes into 500 4 times with a remainder of 56.
Use 4 as the next digit of our solution. 
Result so far: 364607.4504504
Subtract 444 from 500 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 16:
111 goes into 560 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 364607.45045045
Deduct 555 from 560 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.

The quotient of the division is 364607.45045045, and the remainder is 5e-09.