Let's divide 40165155 by 881
We want to figure out the number of times 40165155 can be divided by 881.

Step 1:
The number 881 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 881

Step 2:
The number 881 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 881

Moving on to step 3:
881 goes into 401 0 times with a remainder of 401.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 401, we end up with 401.
Bring next digit (6) of the dividend behind the 401 and repeat the process: 4016 / 881

On to step 4:
If we divide 4016 by 881, we get 4 and a remainder of 492.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 3524 from 4016 to get 492.
Bring next digit (5) of the dividend behind the 492 and repeat the process: 4925 / 881

Advancing to step 5:
881 can be fit into 4925 5 times, resulting in a remainder of 520.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
Deduct 4405 from 4925 and we're left with 520.
Include the next digit (1) from the dividend after 520, then repeat: 5201 / 881

Going ahead to step 6:
When dividing 5201 by 881, we get 5 with a remainder of 796.
Record the quotient 5 as the next digit in the result. 
Result so far: 455.0
The remainder is 796 after subtracting 4405 from 5201.
Bring next digit (5) of the dividend behind the 796 and repeat the process: 7965 / 881

On to step 7:
The number 881 fits into 7965 9 times, leaving a remainder of 36.
Use 9 as the next digit of our solution. 
Result so far: 4559.0
If we take 7929 away from 7965, we end up with 36.
Take the next digit (5) from the dividend and append it to 36, then repeat: 365 / 881

Advancing to step 8:
881 goes into 365 0 times with a remainder of 365.
The number 0 becomes the next digit in our result. 
Result so far: 45590.0
If we take 0 away from 365, we end up with 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Advancing to step 9:
When dividing 3650 by 881, we get 4 with a remainder of 126.
Put 4 as the next digit of the answer. 
Result so far: 45590.4
Subtracting 3524 from 3650 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.

Going ahead to step 10:
881 goes into 1260 1 times with a remainder of 379.
Record the quotient 1 as the next digit in the result. 
Result so far: 45590.41
If we take 881 away from 1260, we end up with 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

Step 11:
The number 881 fits into 3790 4 times, leaving a remainder of 266.
The next digit of our result is 4. 
Result so far: 45590.414
If we take 3524 away from 3790, we end up with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Advancing to step 12:
2660 divided by 881 is 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 45590.4143
Deduct 2643 from 2660 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 13:
881 goes into 170 0 times with a remainder of 170.
Write down 0 as next digit of the result. 
Result so far: 45590.4143
Deduct 0 from 170 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 14:
881 goes into 1700 1 times with a remainder of 819.
Write down 1 as next digit of the result. 
Result so far: 45590.414301
Subtract 881 from 1700 to get 819.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8190, and continue the process.

Step 15:
If we divide 8190 by 881, we get 9 and a remainder of 261.
The number 9 becomes the next digit in our result. 
Result so far: 45590.4143019
Subtract 7929 from 8190 to get 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Step 16:
2610 divided by 881 is 2 with a remainder of 848.
Put 2 as the next digit of the answer. 
Result so far: 45590.41430192
If we take 1762 away from 2610, we end up with 848.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8480, and continue the process.

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