Let's divide 998587 by 3
We want to figure out the number of times 998587 can be divided by 3.

Going ahead to step 1:
When dividing 9 by 3, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 9 from 9, we get 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 3

On to step 2:
3 goes into 9 3 times with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 33.0
If we subtract 9 from 9, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 3

Going ahead to step 3:
When dividing 8 by 3, we get 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 332.0
Subtracting 6 from 8 leaves us with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 3

Step 4:
3 goes into 25 8 times with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 3328.0
The remainder is 1 after subtracting 24 from 25.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 3

Let's proceed to step 5:
18 divided by 3 is 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 33286.0
If we subtract 18 from 18, we get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 3

Moving on to step 6:
When dividing 7 by 3, we get 2 with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 332862.0
If we subtract 6 from 7, 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.

Going ahead to step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 332862.3
If we subtract 9 from 10, 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.

Step 8:
10 divided by 3 is 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 332862.33
Subtract 9 from 10 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.

Our division results in 332862.33 with a remaining 0.001.