We're dividing 589958 by 7 
We want to divide 589958 by 7.

Let's proceed to step 1:
7 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 7

Let's proceed to step 2:
If we divide 58 by 7, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Deduct 56 from 58 and we're left with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 7

Let's proceed to step 3:
When dividing 29 by 7, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 84.0
Subtract 28 from 29 to get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 7

On to step 4:
19 divided by 7 is 2 with a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 842.0
Subtract 14 from 19 to get 5.
Fetch the next digit (5) from the dividend, attach it to 5 and continue: 55 / 7

On to step 5:
When dividing 55 by 7, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 8427.0
Deduct 49 from 55 and we're left with 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 7

Moving on to step 6:
When dividing 68 by 7, we get 9 with a remainder of 5.
The number 9 becomes the next digit in our result. 
Result so far: 84279.0
If we subtract 63 from 68, 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.

Step 7:
7 goes into 50 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 84279.7
Deduct 49 from 50 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 84279.71
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.

Going ahead to step 9:
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: 84279.714
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.

Advancing to step 10:
7 goes into 20 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 84279.7142
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.

On to step 11:
If we divide 60 by 7, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 84279.71428
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.

On to step 12:
40 divided by 7 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 84279.714285
The remainder is 5 after subtracting 35 from 40.
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 13:
50 divided by 7 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 84279.7142857
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.

On to step 14:
If we divide 10 by 7, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 84279.71428571
If we subtract 7 from 10, we 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.

After the division, we end up with 84279.71428571 and a remainder of 3e-09.