Let's divide 40685871 by 967
We're looking to find how many times 967 goes into 40685871.

On to step 1:
If we divide 4 by 967, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 967

On to step 2:
967 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (6) from the dividend after 40, then repeat: 406 / 967

On to step 3:
967 can be fit into 406 0 times, resulting in a remainder of 406.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 406, we end up with 406.
Append the next digit (8) from the dividend to 406 and continue with: 4068 / 967

Let's proceed to step 4:
4068 divided by 967 is 4 with a remainder of 200.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 200 after subtracting 3868 from 4068.
Bring next digit (5) of the dividend behind the 200 and repeat the process: 2005 / 967

On to step 5:
The number 967 fits into 2005 2 times, leaving a remainder of 71.
The next digit of our result is 2. 
Result so far: 42.0
If we take 1934 away from 2005, we end up with 71.
Fetch the next digit (8) from the dividend, attach it to 71 and continue: 718 / 967

Step 6:
The number 967 fits into 718 0 times, leaving a remainder of 718.
Put 0 as the next digit of the answer. 
Result so far: 420.0
Deduct 0 from 718 and we're left with 718.
Fetch the next digit (7) from the dividend, attach it to 718 and continue: 7187 / 967

On to step 7:
The number 967 fits into 7187 7 times, leaving a remainder of 418.
Use 7 as the next digit of our solution. 
Result so far: 4207.0
Deduct 6769 from 7187 and we're left with 418.
Take the next digit (1) from the dividend and append it to 418, then repeat: 4181 / 967

Step 8:
When dividing 4181 by 967, we get 4 with a remainder of 313.
The number 4 becomes the next digit in our result. 
Result so far: 42074.0
The remainder is 313 after subtracting 3868 from 4181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Advancing to step 9:
The number 967 fits into 3130 3 times, leaving a remainder of 229.
The next digit of our result is 3. 
Result so far: 42074.3
If we subtract 2901 from 3130, we get 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

Advancing to step 10:
The number 967 fits into 2290 2 times, leaving a remainder of 356.
The number 2 becomes the next digit in our result. 
Result so far: 42074.32
If we subtract 1934 from 2290, we get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Going ahead to step 11:
3560 divided by 967 is 3 with a remainder of 659.
Use 3 as the next digit of our solution. 
Result so far: 42074.323
Subtracting 2901 from 3560 leaves us with 659.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6590, and continue the process.

Step 12:
6590 divided by 967 is 6 with a remainder of 788.
Use 6 as the next digit of our solution. 
Result so far: 42074.3236
Subtract 5802 from 6590 to get 788.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7880, and continue the process.

On to step 13:
7880 divided by 967 is 8 with a remainder of 144.
Put 8 as the next digit of the answer. 
Result so far: 42074.32368
Subtracting 7736 from 7880 leaves us with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

On to step 14:
967 goes into 1440 1 times with a remainder of 473.
Record the quotient 1 as the next digit in the result. 
Result so far: 42074.323681
The remainder is 473 after subtracting 967 from 1440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4730, and continue the process.

Advancing to step 15:
The number 967 fits into 4730 4 times, leaving a remainder of 862.
The next digit of our result is 4. 
Result so far: 42074.3236814
The remainder is 862 after subtracting 3868 from 4730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8620, and continue the process.

Going ahead to step 16:
The number 967 fits into 8620 8 times, leaving a remainder of 884.
The number 8 becomes the next digit in our result. 
Result so far: 42074.32368148
If we take 7736 away from 8620, we end up with 884.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8840, and continue the process.

After the division, we end up with 42074.32368148 and a remainder of 8.84e-07.