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

Moving on to step 1:
If we divide 5 by 789, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 789

Step 2:
When dividing 51 by 789, we get 0 with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Bring next digit (3) of the dividend behind the 51 and repeat the process: 513 / 789

Let's proceed to step 3:
If we divide 513 by 789, we get 0 and a remainder of 513.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 513, we get 513.
Include the next digit (0) from the dividend after 513, then repeat: 5130 / 789

Step 4:
When dividing 5130 by 789, we get 6 with a remainder of 396.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 396 after subtracting 4734 from 5130.
Take the next digit (6) from the dividend and append it to 396, then repeat: 3966 / 789

Moving on to step 5:
When dividing 3966 by 789, we get 5 with a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
Subtract 3945 from 3966 to get 21.
Append the next digit (9) from the dividend to 21 and continue with: 219 / 789

Let's proceed to step 6:
When dividing 219 by 789, we get 0 with a remainder of 219.
Put 0 as the next digit of the answer. 
Result so far: 650.0
If we subtract 0 from 219, we get 219.
Grab the next digit (8) from the dividend, add it to 219, then carry on: 2198 / 789

Step 7:
789 can be fit into 2198 2 times, resulting in a remainder of 620.
The number 2 becomes the next digit in our result. 
Result so far: 6502.0
Subtract 1578 from 2198 to get 620.
Append the next digit (8) from the dividend to 620 and continue with: 6208 / 789

Step 8:
When dividing 6208 by 789, we get 7 with a remainder of 685.
Record the quotient 7 as the next digit in the result. 
Result so far: 65027.0
Deduct 5523 from 6208 and we're left with 685.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6850, and continue the process.

Moving on to step 9:
789 can be fit into 6850 8 times, resulting in a remainder of 538.
Record the quotient 8 as the next digit in the result. 
Result so far: 65027.8
Subtract 6312 from 6850 to get 538.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5380, and continue the process.

Advancing to step 10:
If we divide 5380 by 789, we get 6 and a remainder of 646.
The next digit of our result is 6. 
Result so far: 65027.86
If we subtract 4734 from 5380, we get 646.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6460, and continue the process.

On to step 11:
789 goes into 6460 8 times with a remainder of 148.
Put 8 as the next digit of the answer. 
Result so far: 65027.868
The remainder is 148 after subtracting 6312 from 6460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Moving on to step 12:
1480 divided by 789 is 1 with a remainder of 691.
The next digit of our result is 1. 
Result so far: 65027.8681
Subtract 789 from 1480 to get 691.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6910, and continue the process.

Going ahead to step 13:
789 can be fit into 6910 8 times, resulting in a remainder of 598.
Write down 8 as next digit of the result. 
Result so far: 65027.86818
Subtract 6312 from 6910 to get 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Moving on to step 14:
If we divide 5980 by 789, we get 7 and a remainder of 457.
Put 7 as the next digit of the answer. 
Result so far: 65027.868187
Deduct 5523 from 5980 and we're left with 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

Going ahead to step 15:
When dividing 4570 by 789, we get 5 with a remainder of 625.
The next digit of our result is 5. 
Result so far: 65027.8681875
The remainder is 625 after subtracting 3945 from 4570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

Advancing to step 16:
789 goes into 6250 7 times with a remainder of 727.
Use 7 as the next digit of our solution. 
Result so far: 65027.86818757
The remainder is 727 after subtracting 5523 from 6250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7270, and continue the process.

The final outcome is 65027.86818757, with a leftover of 7.27e-07.