We look at the division of 512986 by 22 
We're looking to find how many times 22 goes into 512986.

Going ahead to step 1:
If we divide 5 by 22, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 22

Moving on to step 2:
The number 22 fits into 51 2 times, leaving a remainder of 7.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 44 from 51 leaves us with 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 22

Let's proceed to step 3:
72 divided by 22 is 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 23.0
If we take 66 away from 72, we end up with 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 22

Moving on to step 4:
When dividing 69 by 22, we get 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 233.0
Subtracting 66 from 69 leaves us with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 22

Advancing to step 5:
22 goes into 38 1 times with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 2331.0
Subtract 22 from 38 to get 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 22

Step 6:
When dividing 166 by 22, we get 7 with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 23317.0
Subtract 154 from 166 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 7:
If we divide 120 by 22, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 23317.5
Subtract 110 from 120 to get 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 8:
22 can be fit into 100 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 23317.54
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.

On to step 9:
22 goes into 120 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 23317.545
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.

Step 10:
100 divided by 22 is 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 23317.5454
The remainder is 12 after subtracting 88 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 11:
When dividing 120 by 22, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 23317.54545
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.

Going ahead to step 12:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 23317.545454
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.

On to step 13:
22 can be fit into 120 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 23317.5454545
Subtract 110 from 120 to get 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 14:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 23317.54545454
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.

In conclusion, the division gives 23317.54545454 with a balance of 1.2e-08.