40153389 divided by 767 
We want to divide 40153389 by 767.

Moving on to step 1:
If we divide 4 by 767, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 767

Let's proceed to step 2:
If we divide 40 by 767, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
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 / 767

Let's proceed to step 3:
The number 767 fits into 401 0 times, leaving a remainder of 401.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 401 and we're left with 401.
Append the next digit (5) from the dividend to 401 and continue with: 4015 / 767

On to step 4:
767 goes into 4015 5 times with a remainder of 180.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 3835 away from 4015, we end up with 180.
Take the next digit (3) from the dividend and append it to 180, then repeat: 1803 / 767

Moving on to step 5:
The number 767 fits into 1803 2 times, leaving a remainder of 269.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Subtracting 1534 from 1803 leaves us with 269.
Append the next digit (3) from the dividend to 269 and continue with: 2693 / 767

On to step 6:
767 goes into 2693 3 times with a remainder of 392.
Write down 3 as next digit of the result. 
Result so far: 523.0
If we take 2301 away from 2693, we end up with 392.
Bring next digit (8) of the dividend behind the 392 and repeat the process: 3928 / 767

Going ahead to step 7:
If we divide 3928 by 767, we get 5 and a remainder of 93.
The number 5 becomes the next digit in our result. 
Result so far: 5235.0
If we subtract 3835 from 3928, we get 93.
Append the next digit (9) from the dividend to 93 and continue with: 939 / 767

Let's proceed to step 8:
When dividing 939 by 767, we get 1 with a remainder of 172.
Record the quotient 1 as the next digit in the result. 
Result so far: 52351.0
If we take 767 away from 939, we end up with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Advancing to step 9:
When dividing 1720 by 767, we get 2 with a remainder of 186.
Use 2 as the next digit of our solution. 
Result so far: 52351.2
If we subtract 1534 from 1720, we get 186.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Let's proceed to step 10:
If we divide 1860 by 767, we get 2 and a remainder of 326.
Put 2 as the next digit of the answer. 
Result so far: 52351.22
If we subtract 1534 from 1860, we get 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

The final outcome is 52351.22, with a leftover of 0.326.