We divide 40865146 by 204
We want to divide 40865146 by 204.

Advancing to step 1:
The number 204 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 204

Going ahead to step 2:
204 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (8) from the dividend to 40 and continue with: 408 / 204

Going ahead to step 3:
408 divided by 204 is 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 408 from 408 and we're left with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 204

Going ahead to step 4:
204 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Subtracting 0 from 6 leaves us with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 204

Advancing to step 5:
65 divided by 204 is 0 with a remainder of 65.
The number 0 becomes the next digit in our result. 
Result so far: 200.0
If we subtract 0 from 65, we get 65.
Grab the next digit (1) from the dividend, add it to 65, then carry on: 651 / 204

Step 6:
204 goes into 651 3 times with a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 2003.0
Subtract 612 from 651 to get 39.
Take the next digit (4) from the dividend and append it to 39, then repeat: 394 / 204

Let's proceed to step 7:
394 divided by 204 is 1 with a remainder of 190.
Record the quotient 1 as the next digit in the result. 
Result so far: 20031.0
If we subtract 204 from 394, we get 190.
Append the next digit (6) from the dividend to 190 and continue with: 1906 / 204

Moving on to step 8:
204 can be fit into 1906 9 times, resulting in a remainder of 70.
Use 9 as the next digit of our solution. 
Result so far: 200319.0
If we take 1836 away from 1906, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 9:
When dividing 700 by 204, we get 3 with a remainder of 88.
The number 3 becomes the next digit in our result. 
Result so far: 200319.3
The remainder is 88 after subtracting 612 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 10:
204 can be fit into 880 4 times, resulting in a remainder of 64.
Put 4 as the next digit of the answer. 
Result so far: 200319.34
Deduct 816 from 880 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 11:
If we divide 640 by 204, we get 3 and a remainder of 28.
Use 3 as the next digit of our solution. 
Result so far: 200319.343
If we take 612 away from 640, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
If we divide 280 by 204, we get 1 and a remainder of 76.
Record the quotient 1 as the next digit in the result. 
Result so far: 200319.3431
Deduct 204 from 280 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 13:
204 goes into 760 3 times with a remainder of 148.
Record the quotient 3 as the next digit in the result. 
Result so far: 200319.34313
If we subtract 612 from 760, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Going ahead to step 14:
1480 divided by 204 is 7 with a remainder of 52.
The next digit of our result is 7. 
Result so far: 200319.343137
Subtracting 1428 from 1480 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 15:
520 divided by 204 is 2 with a remainder of 112.
The number 2 becomes the next digit in our result. 
Result so far: 200319.3431372
If we take 408 away from 520, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Let's proceed to step 16:
The number 204 fits into 1120 5 times, leaving a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 200319.34313725
If we take 1020 away from 1120, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

The quotient of the division is 200319.34313725, and the remainder is 1e-07.