Let's divide 629218 by 21
The aim is to understand the frequency of 21 in 629218.

Step 1:
The number 21 fits into 6 0 times, leaving a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 21

Advancing to step 2:
When dividing 62 by 21, we get 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 42 from 62 to get 20.
Include the next digit (9) from the dividend after 20, then repeat: 209 / 21

Going ahead to step 3:
The number 21 fits into 209 9 times, leaving a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Subtracting 189 from 209 leaves us with 20.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 21

Advancing to step 4:
202 divided by 21 is 9 with a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 299.0
Subtract 189 from 202 to get 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 21

Let's proceed to step 5:
21 goes into 131 6 times with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 2996.0
Subtracting 126 from 131 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 21

Going ahead to step 6:
21 goes into 58 2 times with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 29962.0
The remainder is 16 after subtracting 42 from 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
If we divide 160 by 21, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 29962.7
The remainder is 13 after subtracting 147 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 8:
The number 21 fits into 130 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 29962.76
Deduct 126 from 130 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.

Advancing to step 9:
When dividing 40 by 21, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 29962.761
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.

Advancing to step 10:
21 can be fit into 190 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 29962.7619
If we subtract 189 from 190, we get 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 11:
If we divide 10 by 21, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 29962.7619
Subtracting 0 from 10 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.

Moving on to step 12:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 29962.761904
The remainder is 16 after subtracting 84 from 100.
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 13:
The number 21 fits into 160 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 29962.7619047
Subtract 147 from 160 to 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.

Advancing to step 14:
130 divided by 21 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 29962.76190476
If we subtract 126 from 130, 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.

The final outcome is 29962.76190476, with a leftover of 4e-09.