We look at the division of 539778 by 7 
We want to divide 539778 by 7.

Going ahead to step 1:
5 divided by 7 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 7

On to step 2:
7 goes into 53 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 49 from 53, we get 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 7

Let's proceed to step 3:
7 can be fit into 49 7 times, resulting in a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 77.0
If we subtract 49 from 49, we get 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 7

Moving on to step 4:
When dividing 7 by 7, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 771.0
If we subtract 7 from 7, we get 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 7

Moving on to step 5:
7 can be fit into 7 1 times, resulting in a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 7711.0
If we take 7 away from 7, we end up with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 7

Step 6:
7 can be fit into 8 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 77111.0
If we subtract 7 from 8, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 77111.1
Subtract 7 from 10 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 8:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 77111.14
Subtracting 28 from 30 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 77111.142
Subtract 14 from 20 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 10:
If we divide 60 by 7, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 77111.1428
If we take 56 away from 60, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
40 divided by 7 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 77111.14285
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 12:
50 divided by 7 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 77111.142857
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 13:
10 divided by 7 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 77111.1428571
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 14:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 77111.14285714
If we take 28 away from 30, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 77111.14285714, with a leftover of 2e-09.