40216867 ÷ 111 
We want to divide 40216867 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 subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 111

On to step 2:
If we divide 40 by 111, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 111

Let's proceed to step 3:
When dividing 402 by 111, we get 3 with a remainder of 69.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 333 from 402 to get 69.
Fetch the next digit (1) from the dividend, attach it to 69 and continue: 691 / 111

Going ahead to step 4:
111 can be fit into 691 6 times, resulting in a remainder of 25.
Put 6 as the next digit of the answer. 
Result so far: 36.0
Deduct 666 from 691 and we're left with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 111

Moving on to step 5:
256 divided by 111 is 2 with a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 362.0
Deduct 222 from 256 and we're left with 34.
Grab the next digit (8) from the dividend, add it to 34, then carry on: 348 / 111

Step 6:
111 can be fit into 348 3 times, resulting in a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 3623.0
If we subtract 333 from 348, we get 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 111

Step 7:
When dividing 156 by 111, we get 1 with a remainder of 45.
Use 1 as the next digit of our solution. 
Result so far: 36231.0
Subtracting 111 from 156 leaves us with 45.
Grab the next digit (7) from the dividend, add it to 45, then carry on: 457 / 111

Let's proceed to step 8:
111 can be fit into 457 4 times, resulting in a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 362314.0
Subtract 444 from 457 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 9:
130 divided by 111 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 362314.1
Subtract 111 from 130 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.

Let's proceed to step 10:
If we divide 190 by 111, we get 1 and a remainder of 79.
Record the quotient 1 as the next digit in the result. 
Result so far: 362314.11
If we subtract 111 from 190, we get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

The quotient of the division is 362314.11, and the remainder is 0.079.