We look at the division of 40100148 by 777 
We want to divide 40100148 by 777.

Moving on to step 1:
777 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 777

Going ahead to step 2:
777 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 777

Step 3:
If we divide 401 by 777, we get 0 and a remainder of 401.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 401 to get 401.
Append the next digit (0) from the dividend to 401 and continue with: 4010 / 777

Step 4:
The number 777 fits into 4010 5 times, leaving a remainder of 125.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 3885 from 4010 and we're left with 125.
Grab the next digit (0) from the dividend, add it to 125, then carry on: 1250 / 777

On to step 5:
777 can be fit into 1250 1 times, resulting in a remainder of 473.
The next digit of our result is 1. 
Result so far: 51.0
The remainder is 473 after subtracting 777 from 1250.
Bring next digit (1) of the dividend behind the 473 and repeat the process: 4731 / 777

On to step 6:
When dividing 4731 by 777, we get 6 with a remainder of 69.
Put 6 as the next digit of the answer. 
Result so far: 516.0
The remainder is 69 after subtracting 4662 from 4731.
Take the next digit (4) from the dividend and append it to 69, then repeat: 694 / 777

Advancing to step 7:
If we divide 694 by 777, we get 0 and a remainder of 694.
Use 0 as the next digit of our solution. 
Result so far: 5160.0
The remainder is 694 after subtracting 0 from 694.
Include the next digit (8) from the dividend after 694, then repeat: 6948 / 777

Advancing to step 8:
777 can be fit into 6948 8 times, resulting in a remainder of 732.
Put 8 as the next digit of the answer. 
Result so far: 51608.0
The remainder is 732 after subtracting 6216 from 6948.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

Let's proceed to step 9:
777 goes into 7320 9 times with a remainder of 327.
The number 9 becomes the next digit in our result. 
Result so far: 51608.9
Subtracting 6993 from 7320 leaves us with 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

Going ahead to step 10:
777 can be fit into 3270 4 times, resulting in a remainder of 162.
Record the quotient 4 as the next digit in the result. 
Result so far: 51608.94
The remainder is 162 after subtracting 3108 from 3270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Going ahead to step 11:
777 goes into 1620 2 times with a remainder of 66.
The next digit of our result is 2. 
Result so far: 51608.942
Subtracting 1554 from 1620 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 12:
If we divide 660 by 777, we get 0 and a remainder of 660.
Write down 0 as next digit of the result. 
Result so far: 51608.942
If we subtract 0 from 660, we get 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

On to step 13:
The number 777 fits into 6600 8 times, leaving a remainder of 384.
Record the quotient 8 as the next digit in the result. 
Result so far: 51608.94208
Subtract 6216 from 6600 to get 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Going ahead to step 14:
777 goes into 3840 4 times with a remainder of 732.
Write down 4 as next digit of the result. 
Result so far: 51608.942084
Deduct 3108 from 3840 and we're left with 732.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

Step 15:
The number 777 fits into 7320 9 times, leaving a remainder of 327.
The next digit of our result is 9. 
Result so far: 51608.9420849
Subtracting 6993 from 7320 leaves us with 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

On to step 16:
The number 777 fits into 3270 4 times, leaving a remainder of 162.
Write down 4 as next digit of the result. 
Result so far: 51608.94208494
If we subtract 3108 from 3270, we get 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

The quotient of the division is 51608.94208494, and the remainder is 1.62e-07.