We're dividing 40331741 by 267 
We want to figure out the number of times 40331741 can be divided by 267.

Step 1:
When dividing 4 by 267, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 267

Step 2:
When dividing 40 by 267, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 267

Going ahead to step 3:
267 goes into 403 1 times with a remainder of 136.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 267 from 403 and we're left with 136.
Take the next digit (3) from the dividend and append it to 136, then repeat: 1363 / 267

Moving on to step 4:
The number 267 fits into 1363 5 times, leaving a remainder of 28.
The next digit of our result is 5. 
Result so far: 15.0
Subtract 1335 from 1363 to get 28.
Grab the next digit (1) from the dividend, add it to 28, then carry on: 281 / 267

Step 5:
When dividing 281 by 267, we get 1 with a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 151.0
The remainder is 14 after subtracting 267 from 281.
Fetch the next digit (7) from the dividend, attach it to 14 and continue: 147 / 267

Moving on to step 6:
When dividing 147 by 267, we get 0 with a remainder of 147.
The number 0 becomes the next digit in our result. 
Result so far: 1510.0
Deduct 0 from 147 and we're left with 147.
Grab the next digit (4) from the dividend, add it to 147, then carry on: 1474 / 267

Going ahead to step 7:
The number 267 fits into 1474 5 times, leaving a remainder of 139.
The number 5 becomes the next digit in our result. 
Result so far: 15105.0
If we take 1335 away from 1474, we end up with 139.
Fetch the next digit (1) from the dividend, attach it to 139 and continue: 1391 / 267

Let's proceed to step 8:
267 goes into 1391 5 times with a remainder of 56.
Write down 5 as next digit of the result. 
Result so far: 151055.0
If we subtract 1335 from 1391, 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.

On to step 9:
If we divide 560 by 267, we get 2 and a remainder of 26.
The next digit of our result is 2. 
Result so far: 151055.2
The remainder is 26 after subtracting 534 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 10:
260 divided by 267 is 0 with a remainder of 260.
Put 0 as the next digit of the answer. 
Result so far: 151055.2
Subtracting 0 from 260 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Moving on to step 11:
267 goes into 2600 9 times with a remainder of 197.
Record the quotient 9 as the next digit in the result. 
Result so far: 151055.209
Subtract 2403 from 2600 to get 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Moving on to step 12:
267 can be fit into 1970 7 times, resulting in a remainder of 101.
Write down 7 as next digit of the result. 
Result so far: 151055.2097
If we take 1869 away from 1970, we end up with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Let's proceed to step 13:
When dividing 1010 by 267, we get 3 with a remainder of 209.
Put 3 as the next digit of the answer. 
Result so far: 151055.20973
The remainder is 209 after subtracting 801 from 1010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

Moving on to step 14:
The number 267 fits into 2090 7 times, leaving a remainder of 221.
The number 7 becomes the next digit in our result. 
Result so far: 151055.209737
Deduct 1869 from 2090 and we're left with 221.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2210, and continue the process.

Step 15:
2210 divided by 267 is 8 with a remainder of 74.
The number 8 becomes the next digit in our result. 
Result so far: 151055.2097378
If we take 2136 away from 2210, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 16:
If we divide 740 by 267, we get 2 and a remainder of 206.
The next digit of our result is 2. 
Result so far: 151055.20973782
Subtracting 534 from 740 leaves us with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Our division results in 151055.20973782 with a remaining 2.06e-07.