Let's divide 18635651 by 789
The aim is to understand the frequency of 789 in 18635651.

On to step 1:
789 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 789

Going ahead to step 2:
When dividing 18 by 789, we get 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 789

Step 3:
186 divided by 789 is 0 with a remainder of 186.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 186, we end up with 186.
Bring next digit (3) of the dividend behind the 186 and repeat the process: 1863 / 789

Advancing to step 4:
The number 789 fits into 1863 2 times, leaving a remainder of 285.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 1578 from 1863 leaves us with 285.
Append the next digit (5) from the dividend to 285 and continue with: 2855 / 789

Going ahead to step 5:
789 goes into 2855 3 times with a remainder of 488.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 488 after subtracting 2367 from 2855.
Take the next digit (6) from the dividend and append it to 488, then repeat: 4886 / 789

Advancing to step 6:
4886 divided by 789 is 6 with a remainder of 152.
The next digit of our result is 6. 
Result so far: 236.0
If we take 4734 away from 4886, we end up with 152.
Fetch the next digit (5) from the dividend, attach it to 152 and continue: 1525 / 789

Let's proceed to step 7:
789 goes into 1525 1 times with a remainder of 736.
Record the quotient 1 as the next digit in the result. 
Result so far: 2361.0
The remainder is 736 after subtracting 789 from 1525.
Include the next digit (1) from the dividend after 736, then repeat: 7361 / 789

On to step 8:
7361 divided by 789 is 9 with a remainder of 260.
Put 9 as the next digit of the answer. 
Result so far: 23619.0
Subtract 7101 from 7361 to get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

On to step 9:
If we divide 2600 by 789, we get 3 and a remainder of 233.
The next digit of our result is 3. 
Result so far: 23619.3
Deduct 2367 from 2600 and we're left with 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2330, and continue the process.

Moving on to step 10:
2330 divided by 789 is 2 with a remainder of 752.
Record the quotient 2 as the next digit in the result. 
Result so far: 23619.32
Subtracting 1578 from 2330 leaves us with 752.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7520, and continue the process.

Moving on to step 11:
When dividing 7520 by 789, we get 9 with a remainder of 419.
The next digit of our result is 9. 
Result so far: 23619.329
Subtracting 7101 from 7520 leaves us with 419.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4190, and continue the process.

Advancing to step 12:
4190 divided by 789 is 5 with a remainder of 245.
Write down 5 as next digit of the result. 
Result so far: 23619.3295
If we take 3945 away from 4190, we end up with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Advancing to step 13:
789 can be fit into 2450 3 times, resulting in a remainder of 83.
Put 3 as the next digit of the answer. 
Result so far: 23619.32953
Subtract 2367 from 2450 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Advancing to step 14:
789 can be fit into 830 1 times, resulting in a remainder of 41.
The number 1 becomes the next digit in our result. 
Result so far: 23619.329531
If we take 789 away from 830, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 15:
When dividing 410 by 789, we get 0 with a remainder of 410.
Use 0 as the next digit of our solution. 
Result so far: 23619.329531
Deduct 0 from 410 and we're left with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Let's proceed to step 16:
If we divide 4100 by 789, we get 5 and a remainder of 155.
Record the quotient 5 as the next digit in the result. 
Result so far: 23619.32953105
If we subtract 3945 from 4100, we get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

The final result is 23619.32953105 with a remainder of 1.55e-07.