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

Advancing to step 1:
If we divide 1 by 7, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 7

On to step 2:
If we divide 15 by 7, we get 2 and a remainder of 1.
The next digit of our result is 2. 
Result so far: 2.0
If we take 14 away from 15, we end up with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 7

Moving on to step 3:
7 can be fit into 18 2 times, resulting in a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 22.0
If we subtract 14 from 18, we get 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 7

On to step 4:
7 can be fit into 45 6 times, resulting in a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 226.0
Subtracting 42 from 45 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 7

Advancing to step 5:
7 can be fit into 37 5 times, resulting in a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 2265.0
Subtracting 35 from 37 leaves us with 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 7

Going ahead to step 6:
7 can be fit into 23 3 times, resulting in a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 22653.0
If we take 21 away from 23, 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 7:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 22653.2
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.

Going ahead to step 8:
When dividing 60 by 7, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 22653.28
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22653.285
Deduct 35 from 40 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 22653.2857
Subtract 49 from 50 to 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.

Going ahead to step 11:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 22653.28571
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.

Step 12:
When dividing 30 by 7, we get 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 22653.285714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
When dividing 20 by 7, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 22653.2857142
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.

Going ahead to step 14:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 22653.28571428
Subtracting 56 from 60 leaves us 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.

Our division results in 22653.28571428 with a remaining 4e-09.