Let's divide 512558 by 22
We're looking to find how many times 22 goes into 512558.

Advancing to step 1:
22 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 22

Step 2:
51 divided by 22 is 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 44 away from 51, we end up with 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 22

Step 3:
72 divided by 22 is 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
Subtracting 66 from 72 leaves us with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 22

Advancing to step 4:
If we divide 65 by 22, we get 2 and a remainder of 21.
Use 2 as the next digit of our solution. 
Result so far: 232.0
Deduct 44 from 65 and we're left with 21.
Fetch the next digit (5) from the dividend, attach it to 21 and continue: 215 / 22

On to step 5:
22 can be fit into 215 9 times, resulting in a remainder of 17.
The next digit of our result is 9. 
Result so far: 2329.0
Subtract 198 from 215 to get 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 22

Let's proceed to step 6:
The number 22 fits into 178 8 times, leaving a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 23298.0
If we take 176 away from 178, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
22 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 23298.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
200 divided by 22 is 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 23298.09
Subtract 198 from 200 to 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.

Step 9:
20 divided by 22 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 23298.09
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
If we divide 200 by 22, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 23298.0909
Deduct 198 from 200 and we're left with 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 11:
When dividing 20 by 22, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 23298.0909
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
If we divide 200 by 22, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 23298.090909
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
22 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 23298.090909
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 14:
200 divided by 22 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 23298.09090909
If we subtract 198 from 200, 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.

Our division results in 23298.09090909 with a remaining 2e-09.