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

Advancing to step 1:
5 divided by 21 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 21

Step 2:
If we divide 50 by 21, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 42 from 50 leaves us with 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 21

On to step 3:
If we divide 84 by 21, we get 4 and a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
If we take 84 away from 84, we end up with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 21

Going ahead to step 4:
21 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 240.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 21

Let's proceed to step 5:
21 goes into 38 1 times with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 2401.0
Deduct 21 from 38 and we're left with 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 21

Let's proceed to step 6:
179 divided by 21 is 8 with a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 24018.0
The remainder is 11 after subtracting 168 from 179.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 21

Step 7:
21 goes into 118 5 times with a remainder of 13.
The number 5 becomes the next digit in our result. 
Result so far: 240185.0
The remainder is 13 after subtracting 105 from 118.
Bring next digit (0) of the dividend behind the 13 and repeat the process: 130 / 21

On to step 8:
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: 2401856.0
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.

On to step 9:
If we divide 40 by 21, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 2401856.1
Subtracting 21 from 40 leaves us 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.

On to step 10:
190 divided by 21 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 2401856.19
Subtract 189 from 190 to 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.

On to step 11:
The number 21 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 2401856.19
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.

Let's proceed to step 12:
21 goes into 100 4 times with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 2401856.1904
If we subtract 84 from 100, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 13:
160 divided by 21 is 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 2401856.19047
Subtract 147 from 160 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 14:
130 divided by 21 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 2401856.190476
If we take 126 away from 130, we end up 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.

On to step 15:
The number 21 fits into 40 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 2401856.1904761
Subtracting 21 from 40 leaves us 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.

Let's proceed to step 16:
The number 21 fits into 190 9 times, leaving a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 2401856.19047619
Subtract 189 from 190 to 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.

Our division results in 2401856.19047619 with a remaining 1e-09.