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

Going ahead to step 1:
If we divide 7 by 21, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 21

Step 2:
The number 21 fits into 79 3 times, leaving a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 63 from 79 and we're left with 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 21

Advancing to step 3:
The number 21 fits into 169 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 38.0
Subtract 168 from 169 to get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 21

Advancing to step 4:
When dividing 15 by 21, we get 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 380.0
If we subtract 0 from 15, we get 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 21

Step 5:
21 goes into 150 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 3807.0
Subtract 147 from 150 to get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 21

Moving on to step 6:
21 goes into 36 1 times with a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 38071.0
Deduct 21 from 36 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.

Moving on to step 7:
If we divide 150 by 21, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 38071.7
Subtracting 147 from 150 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 38071.71
Subtract 21 from 30 to 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 9:
21 goes into 90 4 times with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 38071.714
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 10:
60 divided by 21 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 38071.7142
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.

Let's proceed to step 11:
21 can be fit into 180 8 times, resulting in a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 38071.71428
If we take 168 away from 180, 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.

Advancing to step 12:
120 divided by 21 is 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 38071.714285
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.

Moving on to step 13:
When dividing 150 by 21, we get 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 38071.7142857
Subtract 147 from 150 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
30 divided by 21 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 38071.71428571
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.

The quotient of the division is 38071.71428571, and the remainder is 9e-09.