We're dividing 512698 by 21 
Our goal is to divide 512698 by 21.

Advancing to step 1:
5 divided by 21 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 21

Moving on to step 2:
The number 21 fits into 51 2 times, leaving a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 42 from 51 and we're left with 9.
Take the next digit (2) from the dividend and append it to 9, then repeat: 92 / 21

Let's proceed to step 3:
If we divide 92 by 21, we get 4 and a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtract 84 from 92 to get 8.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 21

Let's proceed to step 4:
21 can be fit into 86 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 244.0
If we take 84 away from 86, we end up with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 21

On to step 5:
When dividing 29 by 21, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 2441.0
If we take 21 away from 29, we end up with 8.
Bring next digit (8) of the dividend behind the 8 and repeat the process: 88 / 21

Advancing to step 6:
If we divide 88 by 21, we get 4 and a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 24414.0
Deduct 84 from 88 and we're left 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 7:
21 can be fit into 40 1 times, resulting in a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 24414.1
If we subtract 21 from 40, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 8:
190 divided by 21 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 24414.19
Deduct 189 from 190 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 9:
21 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 24414.19
If we take 0 away from 10, 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.

Moving on to step 10:
The number 21 fits into 100 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 24414.1904
If we subtract 84 from 100, 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 11:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 24414.19047
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 12:
If we divide 130 by 21, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 24414.190476
The remainder is 4 after subtracting 126 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
The number 21 fits into 40 1 times, leaving a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 24414.1904761
Subtract 21 from 40 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 14:
If we divide 190 by 21, we get 9 and a remainder of 1.
The next digit of our result is 9. 
Result so far: 24414.19047619
If we take 189 away from 190, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 24414.19047619 and a remainder of 1e-09.