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

Step 1:
21 can be fit into 9 0 times, resulting in a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 21

Step 2:
If we divide 97 by 21, we get 4 and a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 84 from 97 and we're left with 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 21

Going ahead to step 3:
When dividing 131 by 21, we get 6 with a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
Subtract 126 from 131 to get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 21

Let's proceed to step 4:
The number 21 fits into 54 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 462.0
Deduct 42 from 54 and we're left with 12.
Bring next digit (8) of the dividend behind the 12 and repeat the process: 128 / 21

Moving on to step 5:
128 divided by 21 is 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 4626.0
If we subtract 126 from 128, we get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 21

On to step 6:
21 can be fit into 27 1 times, resulting in a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 46261.0
If we take 21 away from 27, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
21 goes into 60 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 46261.2
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.

Advancing to step 8:
The number 21 fits into 180 8 times, leaving a remainder of 12.
The next digit of our result is 8. 
Result so far: 46261.28
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.

Advancing to step 9:
21 goes into 120 5 times with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 46261.285
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.

On to step 10:
150 divided by 21 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 46261.2857
Deduct 147 from 150 and we're left 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.

Let's proceed to step 11:
When dividing 30 by 21, we get 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 46261.28571
If we take 21 away from 30, we end up 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.

Moving on to step 12:
21 goes into 90 4 times with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 46261.285714
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.

On to step 13:
60 divided by 21 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 46261.2857142
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.

Going ahead to step 14:
If we divide 180 by 21, we get 8 and a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 46261.28571428
Subtract 168 from 180 to 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.

In conclusion, the division gives 46261.28571428 with a balance of 1.2e-08.