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

Step 1:
The number 21 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 21

Advancing to step 2:
The number 21 fits into 47 2 times, leaving a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 5 after subtracting 42 from 47.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 21

On to step 3:
21 goes into 56 2 times with a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 22.0
The remainder is 14 after subtracting 42 from 56.
Fetch the next digit (7) from the dividend, attach it to 14 and continue: 147 / 21

Going ahead to step 4:
The number 21 fits into 147 7 times, leaving a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 227.0
Deduct 147 from 147 and we're left with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 21

Advancing to step 5:
When dividing 8 by 21, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 2270.0
If we subtract 0 from 8, we get 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 21

Going ahead to step 6:
21 can be fit into 81 3 times, resulting in a remainder of 18.
The next digit of our result is 3. 
Result so far: 22703.0
If we subtract 63 from 81, we 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.

Moving on to step 7:
21 can be fit into 180 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 22703.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.

On to step 8:
120 divided by 21 is 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 22703.85
Subtracting 105 from 120 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
21 can be fit into 150 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 22703.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.

Let's proceed to step 10:
If we divide 30 by 21, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 22703.8571
Subtracting 21 from 30 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

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

Moving on to step 12:
21 can be fit into 60 2 times, resulting in a remainder of 18.
The next digit of our result is 2. 
Result so far: 22703.857142
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 13:
If we divide 180 by 21, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 22703.8571428
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.

Moving on to step 14:
120 divided by 21 is 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 22703.85714285
Deduct 105 from 120 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Our division results in 22703.85714285 with a remaining 1.5e-08.