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

Step 1:
The number 21 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 21

On to step 2:
When dividing 41 by 21, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 21 away from 41, we end up with 20.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 21

Moving on to step 3:
200 divided by 21 is 9 with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Subtract 189 from 200 to get 11.
Include the next digit (4) from the dividend after 11, then repeat: 114 / 21

Moving on to step 4:
If we divide 114 by 21, we get 5 and a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 195.0
Subtract 105 from 114 to get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 21

Advancing to step 5:
21 can be fit into 97 4 times, resulting in a remainder of 13.
Record the quotient 4 as the next digit in the result. 
Result so far: 1954.0
Deduct 84 from 97 and we're left with 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 6:
If we divide 130 by 21, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 1954.6
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.

Advancing to step 7:
The number 21 fits into 40 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1954.61
Deduct 21 from 40 and we're left with 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 8:
190 divided by 21 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 1954.619
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.

Going ahead to step 9:
10 divided by 21 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 1954.619
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 10:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 1954.61904
Subtracting 84 from 100 leaves us with 16.
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 11:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 1954.619047
Subtracting 147 from 160 leaves us with 13.
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 12:
If we divide 130 by 21, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 1954.6190476
Subtracting 126 from 130 leaves us 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.

Going ahead to step 13:
40 divided by 21 is 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 1954.61904761
The remainder is 19 after subtracting 21 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 1954.61904761 with a remainder of 1.9e-08.