506512 divided by 28 
Our goal is to divide 506512 by 28.

Moving on to step 1:
5 divided by 28 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 28

Let's proceed to step 2:
50 divided by 28 is 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 28 from 50, we get 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 28

On to step 3:
28 goes into 226 8 times with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtract 224 from 226 to get 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 28

Step 4:
28 can be fit into 25 0 times, resulting in a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 180.0
If we take 0 away from 25, we end up with 25.
Bring next digit (1) of the dividend behind the 25 and repeat the process: 251 / 28

On to step 5:
When dividing 251 by 28, we get 8 with a remainder of 27.
Put 8 as the next digit of the answer. 
Result so far: 1808.0
Subtract 224 from 251 to get 27.
Include the next digit (2) from the dividend after 27, then repeat: 272 / 28

On to step 6:
28 goes into 272 9 times with a remainder of 20.
The next digit of our result is 9. 
Result so far: 18089.0
Subtract 252 from 272 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 7:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 18089.7
Subtracting 196 from 200 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
28 can be fit into 40 1 times, resulting in a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 18089.71
Subtracting 28 from 40 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.

Let's proceed to step 9:
28 goes into 120 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 18089.714
Subtracting 112 from 120 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
28 can be fit into 80 2 times, resulting in a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 18089.7142
Subtracting 56 from 80 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 11:
If we divide 240 by 28, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 18089.71428
Deduct 224 from 240 and we're left 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.

Advancing to step 12:
28 goes into 160 5 times with a remainder of 20.
The next digit of our result is 5. 
Result so far: 18089.714285
Subtract 140 from 160 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.

On to step 13:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 18089.7142857
If we subtract 196 from 200, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
28 can be fit into 40 1 times, resulting in a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 18089.71428571
If we take 28 away from 40, 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.

The final result is 18089.71428571 with a remainder of 1.2e-08.