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

Let's proceed to step 1:
The number 21 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 21

Going ahead to step 2:
21 can be fit into 11 0 times, resulting in a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 11 after subtracting 0 from 11.
Append the next digit (2) from the dividend to 11 and continue with: 112 / 21

Let's proceed to step 3:
The number 21 fits into 112 5 times, leaving a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 105 from 112 and we're left with 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 21

Let's proceed to step 4:
21 can be fit into 77 3 times, resulting in a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Subtract 63 from 77 to get 14.
Include the next digit (9) from the dividend after 14, then repeat: 149 / 21

Going ahead to step 5:
21 goes into 149 7 times with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 537.0
If we take 147 away from 149, we end up with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 21

Let's proceed to step 6:
The number 21 fits into 27 1 times, leaving a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 5371.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 can be fit into 60 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 5371.2
Subtract 42 from 60 to 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.

Going ahead to step 8:
The number 21 fits into 180 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 5371.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.

Going ahead to step 9:
If we divide 120 by 21, we get 5 and a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 5371.285
If we take 105 away from 120, we end up 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.

Going ahead to step 10:
If we divide 150 by 21, we get 7 and a remainder of 3.
The next digit of our result is 7. 
Result so far: 5371.2857
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.

On to step 11:
21 goes into 30 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 5371.28571
The remainder is 9 after subtracting 21 from 30.
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 can be fit into 90 4 times, resulting in a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 5371.285714
Subtracting 84 from 90 leaves us 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.

Advancing to step 13:
60 divided by 21 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 5371.2857142
Subtract 42 from 60 to 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.

Going ahead to step 14:
21 can be fit into 180 8 times, resulting in a remainder of 12.
The next digit of our result is 8. 
Result so far: 5371.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.

After the division, we end up with 5371.28571428 and a remainder of 1.2e-08.