Let's divide 539781 by 21
Our goal is to divide 539781 by 21.

Let's proceed to step 1:
When dividing 5 by 21, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 21

Let's proceed to step 2:
The number 21 fits into 53 2 times, leaving a remainder of 11.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 42 from 53, we get 11.
Append the next digit (9) from the dividend to 11 and continue with: 119 / 21

Moving on to step 3:
When dividing 119 by 21, we get 5 with a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
If we take 105 away from 119, we end up with 14.
Take the next digit (7) from the dividend and append it to 14, then repeat: 147 / 21

Advancing to step 4:
21 can be fit into 147 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 257.0
Subtracting 147 from 147 leaves us with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 21

On to step 5:
21 can be fit into 8 0 times, resulting in a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 2570.0
If we subtract 0 from 8, we get 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 21

On to step 6:
81 divided by 21 is 3 with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 25703.0
Subtract 63 from 81 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
The number 21 fits into 180 8 times, leaving a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 25703.8
Subtracting 168 from 180 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 8:
When dividing 120 by 21, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 25703.85
If we subtract 105 from 120, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 9:
150 divided by 21 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 25703.857
The remainder is 3 after subtracting 147 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 10:
21 can be fit into 30 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 25703.8571
If we subtract 21 from 30, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
If we divide 90 by 21, we get 4 and a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 25703.85714
If we subtract 84 from 90, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 12:
60 divided by 21 is 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 25703.857142
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 13:
180 divided by 21 is 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 25703.8571428
If we subtract 168 from 180, 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.

Going ahead to step 14:
When dividing 120 by 21, we get 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 25703.85714285
If we subtract 105 from 120, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

In conclusion, the division gives 25703.85714285 with a balance of 1.5e-08.