We're dividing 8040521 by 111 
Our goal is to divide 8040521 by 111.

On to step 1:
111 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 111

Let's proceed to step 2:
111 can be fit into 80 0 times, resulting in a remainder of 80.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 80, we end up with 80.
Take the next digit (4) from the dividend and append it to 80, then repeat: 804 / 111

Moving on to step 3:
804 divided by 111 is 7 with a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 7.0
Deduct 777 from 804 and we're left with 27.
Fetch the next digit (0) from the dividend, attach it to 27 and continue: 270 / 111

Let's proceed to step 4:
111 can be fit into 270 2 times, resulting in a remainder of 48.
The number 2 becomes the next digit in our result. 
Result so far: 72.0
Subtracting 222 from 270 leaves us with 48.
Fetch the next digit (5) from the dividend, attach it to 48 and continue: 485 / 111

Going ahead to step 5:
111 goes into 485 4 times with a remainder of 41.
The next digit of our result is 4. 
Result so far: 724.0
Subtract 444 from 485 to get 41.
Grab the next digit (2) from the dividend, add it to 41, then carry on: 412 / 111

Moving on to step 6:
The number 111 fits into 412 3 times, leaving a remainder of 79.
Use 3 as the next digit of our solution. 
Result so far: 7243.0
If we take 333 away from 412, we end up with 79.
Fetch the next digit (1) from the dividend, attach it to 79 and continue: 791 / 111

Moving on to step 7:
111 can be fit into 791 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 72437.0
If we subtract 777 from 791, we get 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 8:
111 goes into 140 1 times with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 72437.1
Subtract 111 from 140 to 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 9:
111 can be fit into 290 2 times, resulting in a remainder of 68.
The number 2 becomes the next digit in our result. 
Result so far: 72437.12
Subtract 222 from 290 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 10:
680 divided by 111 is 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 72437.126
If we subtract 666 from 680, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
When dividing 140 by 111, we get 1 with a remainder of 29.
The next digit of our result is 1. 
Result so far: 72437.1261
Subtracting 111 from 140 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 12:
When dividing 290 by 111, we get 2 with a remainder of 68.
Record the quotient 2 as the next digit in the result. 
Result so far: 72437.12612
Deduct 222 from 290 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 13:
The number 111 fits into 680 6 times, leaving a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 72437.126126
The remainder is 14 after subtracting 666 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 14:
111 goes into 140 1 times with a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 72437.1261261
Subtract 111 from 140 to 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.

Going ahead to step 15:
The number 111 fits into 290 2 times, leaving a remainder of 68.
Record the quotient 2 as the next digit in the result. 
Result so far: 72437.12612612
Subtracting 222 from 290 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

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