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

Advancing to step 1:
21 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 21

Let's proceed to step 2:
When dividing 31 by 21, we get 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 21 from 31 and we're left with 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 21

Step 3:
21 goes into 106 5 times with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtract 105 from 106 to get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 21

Advancing to step 4:
The number 21 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 150.0
The remainder is 10 after subtracting 0 from 10.
Fetch the next digit (0) from the dividend, attach it to 10 and continue: 100 / 21

Let's proceed to step 5:
21 can be fit into 100 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 1504.0
Subtracting 84 from 100 leaves us with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 21

Going ahead to step 6:
When dividing 161 by 21, we get 7 with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 15047.0
Subtract 147 from 161 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
21 goes into 140 6 times with a remainder of 14.
The next digit of our result is 6. 
Result so far: 15047.6
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
If we divide 140 by 21, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 15047.66
Subtracting 126 from 140 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 15047.66, and the remainder is 0.014.