Let's divide 40115765 by 765
Our goal is to divide 40115765 by 765.

Let's proceed to step 1:
4 divided by 765 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 765

On to step 2:
When dividing 40 by 765, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Include the next digit (1) from the dividend after 40, then repeat: 401 / 765

Going ahead to step 3:
401 divided by 765 is 0 with a remainder of 401.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 401 and we're left with 401.
Take the next digit (1) from the dividend and append it to 401, then repeat: 4011 / 765

Step 4:
4011 divided by 765 is 5 with a remainder of 186.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 3825 from 4011 and we're left with 186.
Append the next digit (5) from the dividend to 186 and continue with: 1865 / 765

Advancing to step 5:
765 goes into 1865 2 times with a remainder of 335.
The next digit of our result is 2. 
Result so far: 52.0
Subtracting 1530 from 1865 leaves us with 335.
Grab the next digit (7) from the dividend, add it to 335, then carry on: 3357 / 765

Going ahead to step 6:
When dividing 3357 by 765, we get 4 with a remainder of 297.
Use 4 as the next digit of our solution. 
Result so far: 524.0
If we take 3060 away from 3357, we end up with 297.
Take the next digit (6) from the dividend and append it to 297, then repeat: 2976 / 765

Advancing to step 7:
If we divide 2976 by 765, we get 3 and a remainder of 681.
Write down 3 as next digit of the result. 
Result so far: 5243.0
Subtract 2295 from 2976 to get 681.
Grab the next digit (5) from the dividend, add it to 681, then carry on: 6815 / 765

Advancing to step 8:
The number 765 fits into 6815 8 times, leaving a remainder of 695.
Use 8 as the next digit of our solution. 
Result so far: 52438.0
If we take 6120 away from 6815, we end up with 695.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

On to step 9:
The number 765 fits into 6950 9 times, leaving a remainder of 65.
The next digit of our result is 9. 
Result so far: 52438.9
If we subtract 6885 from 6950, we get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Advancing to step 10:
765 goes into 650 0 times with a remainder of 650.
The number 0 becomes the next digit in our result. 
Result so far: 52438.9
If we subtract 0 from 650, we get 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6500, and continue the process.

On to step 11:
6500 divided by 765 is 8 with a remainder of 380.
The number 8 becomes the next digit in our result. 
Result so far: 52438.908
If we take 6120 away from 6500, we end up with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Moving on to step 12:
When dividing 3800 by 765, we get 4 with a remainder of 740.
Write down 4 as next digit of the result. 
Result so far: 52438.9084
Deduct 3060 from 3800 and we're left with 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

On to step 13:
When dividing 7400 by 765, we get 9 with a remainder of 515.
The number 9 becomes the next digit in our result. 
Result so far: 52438.90849
Subtract 6885 from 7400 to get 515.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

Going ahead to step 14:
5150 divided by 765 is 6 with a remainder of 560.
Put 6 as the next digit of the answer. 
Result so far: 52438.908496
Subtract 4590 from 5150 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Moving on to step 15:
When dividing 5600 by 765, we get 7 with a remainder of 245.
The next digit of our result is 7. 
Result so far: 52438.9084967
Subtract 5355 from 5600 to get 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Let's proceed to step 16:
2450 divided by 765 is 3 with a remainder of 155.
Use 3 as the next digit of our solution. 
Result so far: 52438.90849673
The remainder is 155 after subtracting 2295 from 2450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

The quotient of the division is 52438.90849673, and the remainder is 1.55e-07.