586051 ÷ 18 
We're looking to find how many times 18 goes into 586051.

On to step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 18

Let's proceed to step 2:
18 goes into 58 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 54 from 58 leaves us with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 18

Step 3:
18 can be fit into 46 2 times, resulting in a remainder of 10.
The next digit of our result is 2. 
Result so far: 32.0
If we take 36 away from 46, we end up with 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 18

Let's proceed to step 4:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 325.0
Subtracting 90 from 100 leaves us with 10.
Include the next digit (5) from the dividend after 10, then repeat: 105 / 18

Step 5:
105 divided by 18 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 3255.0
Deduct 90 from 105 and we're left with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 18

Step 6:
151 divided by 18 is 8 with a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 32558.0
If we take 144 away from 151, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
18 goes into 70 3 times with a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 32558.3
If we subtract 54 from 70, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
160 divided by 18 is 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 32558.38
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
160 divided by 18 is 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 32558.388
If we take 144 away from 160, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 32558.388 with a remaining 0.0016.