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

On to step 1:
If we divide 5 by 21, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 21

Step 2:
The number 21 fits into 53 2 times, leaving a remainder of 11.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 42 from 53 to get 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 21

Advancing to step 3:
21 can be fit into 110 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtract 105 from 110 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 21

Step 4:
The number 21 fits into 51 2 times, leaving a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 252.0
Deduct 42 from 51 and we're left with 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 21

Let's proceed to step 5:
91 divided by 21 is 4 with a remainder of 7.
The number 4 becomes the next digit in our result. 
Result so far: 2524.0
Deduct 84 from 91 and we're left with 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 21

Let's proceed to step 6:
If we divide 75 by 21, we get 3 and a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 25243.0
Subtracting 63 from 75 leaves us 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 7:
If we divide 120 by 21, we get 5 and a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 25243.5
The remainder is 15 after subtracting 105 from 120.
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 8:
21 goes into 150 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 25243.57
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.

Let's proceed to step 9:
21 goes into 30 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 25243.571
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.

Step 10:
When dividing 90 by 21, we get 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 25243.5714
Subtract 84 from 90 to 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.

On to step 11:
When dividing 60 by 21, we get 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 25243.57142
Deduct 42 from 60 and we're left with 18.
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 12:
21 can be fit into 180 8 times, resulting in a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 25243.571428
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.

Step 13:
When dividing 120 by 21, we get 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 25243.5714285
The remainder is 15 after subtracting 105 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 14:
If we divide 150 by 21, we get 7 and a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 25243.57142857
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.

The quotient of the division is 25243.57142857, and the remainder is 3e-09.