We're dividing 997006 by 58 
We want to divide 997006 by 58.

Advancing to step 1:
58 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 58

Moving on to step 2:
58 goes into 99 1 times with a remainder of 41.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 41 after subtracting 58 from 99.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 58

Moving on to step 3:
417 divided by 58 is 7 with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we take 406 away from 417, we end up with 11.
Bring next digit (0) of the dividend behind the 11 and repeat the process: 110 / 58

On to step 4:
When dividing 110 by 58, we get 1 with a remainder of 52.
Use 1 as the next digit of our solution. 
Result so far: 171.0
Subtracting 58 from 110 leaves us with 52.
Append the next digit (0) from the dividend to 52 and continue with: 520 / 58

Step 5:
The number 58 fits into 520 8 times, leaving a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 1718.0
If we subtract 464 from 520, we get 56.
Take the next digit (6) from the dividend and append it to 56, then repeat: 566 / 58

Step 6:
If we divide 566 by 58, we get 9 and a remainder of 44.
Put 9 as the next digit of the answer. 
Result so far: 17189.0
If we take 522 away from 566, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 7:
The number 58 fits into 440 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 17189.7
Deduct 406 from 440 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 8:
When dividing 340 by 58, we get 5 with a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 17189.75
Deduct 290 from 340 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 9:
500 divided by 58 is 8 with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 17189.758
If we subtract 464 from 500, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
58 can be fit into 360 6 times, resulting in a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 17189.7586
Subtract 348 from 360 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
58 goes into 120 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 17189.75862
If we take 116 away from 120, 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 12:
58 goes into 40 0 times with a remainder of 40.
The next digit of our result is 0. 
Result so far: 17189.75862
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 13:
400 divided by 58 is 6 with a remainder of 52.
The next digit of our result is 6. 
Result so far: 17189.7586206
The remainder is 52 after subtracting 348 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 14:
The number 58 fits into 520 8 times, leaving a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 17189.75862068
Subtracting 464 from 520 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

After the division, we end up with 17189.75862068 and a remainder of 5.6e-08.