We look at the division of 520173 by 7 
Our goal is to divide 520173 by 7.

Moving on to step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 7

Going ahead to step 2:
If we divide 52 by 7, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 49 from 52 to get 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 7

Going ahead to step 3:
7 goes into 30 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 74.0
Subtracting 28 from 30 leaves us with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 7

On to step 4:
7 can be fit into 21 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 743.0
Subtract 21 from 21 to get 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 7

Moving on to step 5:
7 divided by 7 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 7431.0
Deduct 7 from 7 and we're left with 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 7

Advancing to step 6:
7 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 74310.0
If we take 0 away from 3, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
30 divided by 7 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 74310.4
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.

Advancing to step 8:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 74310.42
Deduct 14 from 20 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
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: 74310.428
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.

Let's proceed to step 10:
If we divide 40 by 7, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 74310.4285
If we subtract 35 from 40, we 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.

Let's proceed to step 11:
If we divide 50 by 7, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 74310.42857
If we subtract 49 from 50, 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.

Advancing to step 12:
When dividing 10 by 7, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 74310.428571
Subtracting 7 from 10 leaves us with 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 13:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 74310.4285714
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.

Moving on to step 14:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 74310.42857142
If we subtract 14 from 20, we 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.

In conclusion, the division gives 74310.42857142 with a balance of 6e-09.