We look at the division of 4028850 by 777 
We're looking to find how many times 777 goes into 4028850.

Going ahead to step 1:
When dividing 4 by 777, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 777

Advancing to step 2:
777 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (2) from the dividend to 40 and continue with: 402 / 777

Going ahead to step 3:
When dividing 402 by 777, we get 0 with a remainder of 402.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 402 and we're left with 402.
Append the next digit (8) from the dividend to 402 and continue with: 4028 / 777

Let's proceed to step 4:
4028 divided by 777 is 5 with a remainder of 143.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 3885 from 4028 and we're left with 143.
Take the next digit (8) from the dividend and append it to 143, then repeat: 1438 / 777

Moving on to step 5:
If we divide 1438 by 777, we get 1 and a remainder of 661.
Put 1 as the next digit of the answer. 
Result so far: 51.0
Subtracting 777 from 1438 leaves us with 661.
Include the next digit (5) from the dividend after 661, then repeat: 6615 / 777

On to step 6:
6615 divided by 777 is 8 with a remainder of 399.
The next digit of our result is 8. 
Result so far: 518.0
If we take 6216 away from 6615, we end up with 399.
Take the next digit (0) from the dividend and append it to 399, then repeat: 3990 / 777

Let's proceed to step 7:
777 goes into 3990 5 times with a remainder of 105.
The next digit of our result is 5. 
Result so far: 5185.0
If we take 3885 away from 3990, we end up with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Going ahead to step 8:
777 goes into 1050 1 times with a remainder of 273.
Put 1 as the next digit of the answer. 
Result so far: 5185.1
Subtract 777 from 1050 to get 273.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

Step 9:
When dividing 2730 by 777, we get 3 with a remainder of 399.
Record the quotient 3 as the next digit in the result. 
Result so far: 5185.13
Subtracting 2331 from 2730 leaves us with 399.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3990, and continue the process.

Advancing to step 10:
If we divide 3990 by 777, we get 5 and a remainder of 105.
Use 5 as the next digit of our solution. 
Result so far: 5185.135
If we take 3885 away from 3990, we end up with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Advancing to step 11:
When dividing 1050 by 777, we get 1 with a remainder of 273.
The number 1 becomes the next digit in our result. 
Result so far: 5185.1351
The remainder is 273 after subtracting 777 from 1050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

Going ahead to step 12:
777 can be fit into 2730 3 times, resulting in a remainder of 399.
Write down 3 as next digit of the result. 
Result so far: 5185.13513
If we subtract 2331 from 2730, we get 399.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3990, and continue the process.

Let's proceed to step 13:
When dividing 3990 by 777, we get 5 with a remainder of 105.
The number 5 becomes the next digit in our result. 
Result so far: 5185.135135
If we take 3885 away from 3990, we end up with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Moving on to step 14:
When dividing 1050 by 777, we get 1 with a remainder of 273.
Use 1 as the next digit of our solution. 
Result so far: 5185.1351351
Subtract 777 from 1050 to get 273.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

Advancing to step 15:
If we divide 2730 by 777, we get 3 and a remainder of 399.
Write down 3 as next digit of the result. 
Result so far: 5185.13513513
The remainder is 399 after subtracting 2331 from 2730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3990, and continue the process.

After the division, we end up with 5185.13513513 and a remainder of 3.99e-07.