We divide 21101783 by 789
The aim is to understand the frequency of 789 in 21101783.

Moving on to step 1:
When dividing 2 by 789, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 789

Step 2:
21 divided by 789 is 0 with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 21 after subtracting 0 from 21.
Grab the next digit (1) from the dividend, add it to 21, then carry on: 211 / 789

On to step 3:
789 can be fit into 211 0 times, resulting in a remainder of 211.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 211 to get 211.
Take the next digit (0) from the dividend and append it to 211, then repeat: 2110 / 789

Let's proceed to step 4:
789 goes into 2110 2 times with a remainder of 532.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 1578 from 2110 to get 532.
Include the next digit (1) from the dividend after 532, then repeat: 5321 / 789

Step 5:
If we divide 5321 by 789, we get 6 and a remainder of 587.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Subtracting 4734 from 5321 leaves us with 587.
Bring next digit (7) of the dividend behind the 587 and repeat the process: 5877 / 789

Advancing to step 6:
When dividing 5877 by 789, we get 7 with a remainder of 354.
The next digit of our result is 7. 
Result so far: 267.0
The remainder is 354 after subtracting 5523 from 5877.
Take the next digit (8) from the dividend and append it to 354, then repeat: 3548 / 789

Moving on to step 7:
When dividing 3548 by 789, we get 4 with a remainder of 392.
Record the quotient 4 as the next digit in the result. 
Result so far: 2674.0
Deduct 3156 from 3548 and we're left with 392.
Append the next digit (3) from the dividend to 392 and continue with: 3923 / 789

Moving on to step 8:
789 goes into 3923 4 times with a remainder of 767.
Record the quotient 4 as the next digit in the result. 
Result so far: 26744.0
If we subtract 3156 from 3923, we get 767.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7670, and continue the process.

Step 9:
When dividing 7670 by 789, we get 9 with a remainder of 569.
The next digit of our result is 9. 
Result so far: 26744.9
Deduct 7101 from 7670 and we're left with 569.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5690, and continue the process.

Step 10:
789 can be fit into 5690 7 times, resulting in a remainder of 167.
Use 7 as the next digit of our solution. 
Result so far: 26744.97
The remainder is 167 after subtracting 5523 from 5690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

On to step 11:
If we divide 1670 by 789, we get 2 and a remainder of 92.
The next digit of our result is 2. 
Result so far: 26744.972
Subtracting 1578 from 1670 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Moving on to step 12:
789 goes into 920 1 times with a remainder of 131.
The number 1 becomes the next digit in our result. 
Result so far: 26744.9721
Deduct 789 from 920 and we're left with 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Advancing to step 13:
789 goes into 1310 1 times with a remainder of 521.
The number 1 becomes the next digit in our result. 
Result so far: 26744.97211
The remainder is 521 after subtracting 789 from 1310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5210, and continue the process.

After the division, we end up with 26744.97211 and a remainder of 0.000521.