We're dividing 386585 by 22 
We want to divide 386585 by 22.

Moving on to step 1:
22 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 22

Step 2:
When dividing 38 by 22, we get 1 with a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 22 away from 38, we end up with 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 22

Let's proceed to step 3:
When dividing 166 by 22, we get 7 with a remainder of 12.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we subtract 154 from 166, we get 12.
Fetch the next digit (5) from the dividend, attach it to 12 and continue: 125 / 22

Let's proceed to step 4:
When dividing 125 by 22, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 175.0
Subtract 110 from 125 to get 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 22

Let's proceed to step 5:
The number 22 fits into 158 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 1757.0
If we take 154 away from 158, we end up with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 22

Going ahead to step 6:
45 divided by 22 is 2 with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 17572.0
If we subtract 44 from 45, 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.

Advancing to step 7:
If we divide 10 by 22, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 17572.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
When dividing 100 by 22, we get 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17572.04
If we take 88 away from 100, we end up with 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 9:
The number 22 fits into 120 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 17572.045
Subtracting 110 from 120 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
22 goes into 100 4 times with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 17572.0454
Subtracting 88 from 100 leaves us with 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:
22 goes into 120 5 times with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 17572.04545
If we take 110 away from 120, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 12:
When dividing 100 by 22, we get 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 17572.045454
If we take 88 away from 100, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 13:
22 can be fit into 120 5 times, resulting in a remainder of 10.
The next digit of our result is 5. 
Result so far: 17572.0454545
Deduct 110 from 120 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
22 can be fit into 100 4 times, resulting in a remainder of 12.
The next digit of our result is 4. 
Result so far: 17572.04545454
If we subtract 88 from 100, we 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.

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