40018118 divided by 255 
Let's see how many times 255 fits into 40018118.

Moving on to step 1:
If we divide 4 by 255, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 255

Moving on to step 2:
255 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 255

Moving on to step 3:
255 goes into 400 1 times with a remainder of 145.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 255 away from 400, we end up with 145.
Take the next digit (1) from the dividend and append it to 145, then repeat: 1451 / 255

Advancing to step 4:
255 goes into 1451 5 times with a remainder of 176.
The next digit of our result is 5. 
Result so far: 15.0
Subtracting 1275 from 1451 leaves us with 176.
Append the next digit (8) from the dividend to 176 and continue with: 1768 / 255

On to step 5:
The number 255 fits into 1768 6 times, leaving a remainder of 238.
The next digit of our result is 6. 
Result so far: 156.0
If we take 1530 away from 1768, we end up with 238.
Include the next digit (1) from the dividend after 238, then repeat: 2381 / 255

Let's proceed to step 6:
2381 divided by 255 is 9 with a remainder of 86.
The next digit of our result is 9. 
Result so far: 1569.0
If we subtract 2295 from 2381, we get 86.
Take the next digit (1) from the dividend and append it to 86, then repeat: 861 / 255

Going ahead to step 7:
The number 255 fits into 861 3 times, leaving a remainder of 96.
The next digit of our result is 3. 
Result so far: 15693.0
Deduct 765 from 861 and we're left with 96.
Fetch the next digit (8) from the dividend, attach it to 96 and continue: 968 / 255

Moving on to step 8:
255 goes into 968 3 times with a remainder of 203.
Use 3 as the next digit of our solution. 
Result so far: 156933.0
Subtract 765 from 968 to get 203.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2030, and continue the process.

Let's proceed to step 9:
255 can be fit into 2030 7 times, resulting in a remainder of 245.
Write down 7 as next digit of the result. 
Result so far: 156933.7
Subtract 1785 from 2030 to get 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Advancing to step 10:
2450 divided by 255 is 9 with a remainder of 155.
The next digit of our result is 9. 
Result so far: 156933.79
Subtract 2295 from 2450 to get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Advancing to step 11:
255 goes into 1550 6 times with a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 156933.796
If we take 1530 away from 1550, 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.

Advancing to step 12:
200 divided by 255 is 0 with a remainder of 200.
The number 0 becomes the next digit in our result. 
Result so far: 156933.796
If we subtract 0 from 200, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Let's proceed to step 13:
255 can be fit into 2000 7 times, resulting in a remainder of 215.
The next digit of our result is 7. 
Result so far: 156933.79607
Subtract 1785 from 2000 to get 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Going ahead to step 14:
The number 255 fits into 2150 8 times, leaving a remainder of 110.
Put 8 as the next digit of the answer. 
Result so far: 156933.796078
Subtracting 2040 from 2150 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 15:
255 can be fit into 1100 4 times, resulting in a remainder of 80.
The number 4 becomes the next digit in our result. 
Result so far: 156933.7960784
Subtracting 1020 from 1100 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 16:
If we divide 800 by 255, we get 3 and a remainder of 35.
Write down 3 as next digit of the result. 
Result so far: 156933.79607843
If we subtract 765 from 800, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 156933.79607843, with a leftover of 3.5e-08.