We look at the division of 40238149 by 779 
We want to divide 40238149 by 779.

Going ahead to step 1:
4 divided by 779 is 0 with a remainder of 4.
The next digit of our result is 0. 
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 / 779

Step 2:
When dividing 40 by 779, we get 0 with 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.
Append the next digit (2) from the dividend to 40 and continue with: 402 / 779

Going ahead to step 3:
402 divided by 779 is 0 with a remainder of 402.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 402, we get 402.
Append the next digit (3) from the dividend to 402 and continue with: 4023 / 779

Step 4:
779 can be fit into 4023 5 times, resulting in a remainder of 128.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 3895 from 4023 leaves us with 128.
Take the next digit (8) from the dividend and append it to 128, then repeat: 1288 / 779

Going ahead to step 5:
1288 divided by 779 is 1 with a remainder of 509.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtract 779 from 1288 to get 509.
Bring next digit (1) of the dividend behind the 509 and repeat the process: 5091 / 779

Step 6:
5091 divided by 779 is 6 with a remainder of 417.
The next digit of our result is 6. 
Result so far: 516.0
Subtract 4674 from 5091 to get 417.
Grab the next digit (4) from the dividend, add it to 417, then carry on: 4174 / 779

Let's proceed to step 7:
4174 divided by 779 is 5 with a remainder of 279.
Put 5 as the next digit of the answer. 
Result so far: 5165.0
Deduct 3895 from 4174 and we're left with 279.
Include the next digit (9) from the dividend after 279, then repeat: 2799 / 779

Let's proceed to step 8:
The number 779 fits into 2799 3 times, leaving a remainder of 462.
The number 3 becomes the next digit in our result. 
Result so far: 51653.0
The remainder is 462 after subtracting 2337 from 2799.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Let's proceed to step 9:
If we divide 4620 by 779, we get 5 and a remainder of 725.
Record the quotient 5 as the next digit in the result. 
Result so far: 51653.5
Subtracting 3895 from 4620 leaves us with 725.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7250, and continue the process.

Moving on to step 10:
779 can be fit into 7250 9 times, resulting in a remainder of 239.
Put 9 as the next digit of the answer. 
Result so far: 51653.59
The remainder is 239 after subtracting 7011 from 7250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2390, and continue the process.

Let's proceed to step 11:
779 can be fit into 2390 3 times, resulting in a remainder of 53.
Write down 3 as next digit of the result. 
Result so far: 51653.593
If we take 2337 away from 2390, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Moving on to step 12:
530 divided by 779 is 0 with a remainder of 530.
Record the quotient 0 as the next digit in the result. 
Result so far: 51653.593
If we take 0 away from 530, we end up with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Let's proceed to step 13:
When dividing 5300 by 779, we get 6 with a remainder of 626.
The next digit of our result is 6. 
Result so far: 51653.59306
Subtract 4674 from 5300 to get 626.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6260, and continue the process.

Step 14:
779 goes into 6260 8 times with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 51653.593068
Subtracting 6232 from 6260 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 15:
280 divided by 779 is 0 with a remainder of 280.
Use 0 as the next digit of our solution. 
Result so far: 51653.593068
The remainder is 280 after subtracting 0 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 16:
2800 divided by 779 is 3 with a remainder of 463.
Write down 3 as next digit of the result. 
Result so far: 51653.59306803
If we take 2337 away from 2800, we end up with 463.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4630, and continue the process.

The quotient of the division is 51653.59306803, and the remainder is 4.63e-07.