We're dividing 40467543 by 331 
We want to divide 40467543 by 331.

Going ahead to step 1:
When dividing 4 by 331, we get 0 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 331

Step 2:
When dividing 40 by 331, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 331

Going ahead to step 3:
When dividing 404 by 331, we get 1 with a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 331 from 404 leaves us with 73.
Append the next digit (6) from the dividend to 73 and continue with: 736 / 331

Going ahead to step 4:
The number 331 fits into 736 2 times, leaving a remainder of 74.
The next digit of our result is 2. 
Result so far: 12.0
Deduct 662 from 736 and we're left with 74.
Append the next digit (7) from the dividend to 74 and continue with: 747 / 331

Moving on to step 5:
331 can be fit into 747 2 times, resulting in a remainder of 85.
Write down 2 as next digit of the result. 
Result so far: 122.0
Subtract 662 from 747 to get 85.
Include the next digit (5) from the dividend after 85, then repeat: 855 / 331

Let's proceed to step 6:
331 can be fit into 855 2 times, resulting in a remainder of 193.
Put 2 as the next digit of the answer. 
Result so far: 1222.0
Subtracting 662 from 855 leaves us with 193.
Grab the next digit (4) from the dividend, add it to 193, then carry on: 1934 / 331

Going ahead to step 7:
1934 divided by 331 is 5 with a remainder of 279.
The number 5 becomes the next digit in our result. 
Result so far: 12225.0
If we take 1655 away from 1934, we end up with 279.
Fetch the next digit (3) from the dividend, attach it to 279 and continue: 2793 / 331

Step 8:
331 goes into 2793 8 times with a remainder of 145.
Put 8 as the next digit of the answer. 
Result so far: 122258.0
If we subtract 2648 from 2793, we get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Going ahead to step 9:
331 can be fit into 1450 4 times, resulting in a remainder of 126.
The next digit of our result is 4. 
Result so far: 122258.4
Subtracting 1324 from 1450 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

On to step 10:
1260 divided by 331 is 3 with a remainder of 267.
Use 3 as the next digit of our solution. 
Result so far: 122258.43
If we take 993 away from 1260, we end up with 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Going ahead to step 11:
If we divide 2670 by 331, we get 8 and a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 122258.438
The remainder is 22 after subtracting 2648 from 2670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 12:
331 goes into 220 0 times with a remainder of 220.
Put 0 as the next digit of the answer. 
Result so far: 122258.438
Subtract 0 from 220 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Moving on to step 13:
331 can be fit into 2200 6 times, resulting in a remainder of 214.
The number 6 becomes the next digit in our result. 
Result so far: 122258.43806
If we take 1986 away from 2200, we end up with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Step 14:
331 can be fit into 2140 6 times, resulting in a remainder of 154.
Put 6 as the next digit of the answer. 
Result so far: 122258.438066
If we take 1986 away from 2140, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

After the division, we end up with 122258.438066 and a remainder of 1.54e-05.