Let's divide 40821154 by 766
We want to divide 40821154 by 766.

Step 1:
766 can be fit into 4 0 times, resulting in 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 / 766

Advancing to step 2:
766 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 766

Moving on to step 3:
When dividing 408 by 766, we get 0 with a remainder of 408.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 408, we get 408.
Grab the next digit (2) from the dividend, add it to 408, then carry on: 4082 / 766

On to step 4:
766 goes into 4082 5 times with a remainder of 252.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 3830 from 4082 and we're left with 252.
Include the next digit (1) from the dividend after 252, then repeat: 2521 / 766

Moving on to step 5:
The number 766 fits into 2521 3 times, leaving a remainder of 223.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Subtracting 2298 from 2521 leaves us with 223.
Take the next digit (1) from the dividend and append it to 223, then repeat: 2231 / 766

Let's proceed to step 6:
2231 divided by 766 is 2 with a remainder of 699.
Put 2 as the next digit of the answer. 
Result so far: 532.0
The remainder is 699 after subtracting 1532 from 2231.
Take the next digit (5) from the dividend and append it to 699, then repeat: 6995 / 766

On to step 7:
6995 divided by 766 is 9 with a remainder of 101.
Use 9 as the next digit of our solution. 
Result so far: 5329.0
Subtract 6894 from 6995 to get 101.
Include the next digit (4) from the dividend after 101, then repeat: 1014 / 766

Going ahead to step 8:
766 goes into 1014 1 times with a remainder of 248.
Put 1 as the next digit of the answer. 
Result so far: 53291.0
If we take 766 away from 1014, we end up with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Moving on to step 9:
The number 766 fits into 2480 3 times, leaving a remainder of 182.
Use 3 as the next digit of our solution. 
Result so far: 53291.3
If we subtract 2298 from 2480, we get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Moving on to step 10:
766 goes into 1820 2 times with a remainder of 288.
The next digit of our result is 2. 
Result so far: 53291.32
If we subtract 1532 from 1820, we get 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Step 11:
If we divide 2880 by 766, we get 3 and a remainder of 582.
The next digit of our result is 3. 
Result so far: 53291.323
Subtracting 2298 from 2880 leaves us with 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Advancing to step 12:
766 can be fit into 5820 7 times, resulting in a remainder of 458.
Record the quotient 7 as the next digit in the result. 
Result so far: 53291.3237
Subtracting 5362 from 5820 leaves us with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Going ahead to step 13:
4580 divided by 766 is 5 with a remainder of 750.
Record the quotient 5 as the next digit in the result. 
Result so far: 53291.32375
Deduct 3830 from 4580 and we're left with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Step 14:
7500 divided by 766 is 9 with a remainder of 606.
Write down 9 as next digit of the result. 
Result so far: 53291.323759
If we take 6894 away from 7500, we end up with 606.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6060, and continue the process.

Let's proceed to step 15:
6060 divided by 766 is 7 with a remainder of 698.
Put 7 as the next digit of the answer. 
Result so far: 53291.3237597
If we take 5362 away from 6060, we end up with 698.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6980, and continue the process.

On to step 16:
If we divide 6980 by 766, we get 9 and a remainder of 86.
The number 9 becomes the next digit in our result. 
Result so far: 53291.32375979
If we subtract 6894 from 6980, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final result is 53291.32375979 with a remainder of 8.6e-08.