We look at the division of 25833791 by 789 
The aim is to understand the frequency of 789 in 25833791.

On to step 1:
2 divided by 789 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 789

Going ahead to step 2:
25 divided by 789 is 0 with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Include the next digit (8) from the dividend after 25, then repeat: 258 / 789

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

Going ahead to step 4:
The number 789 fits into 2583 3 times, leaving a remainder of 216.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 2367 from 2583 to get 216.
Fetch the next digit (3) from the dividend, attach it to 216 and continue: 2163 / 789

Let's proceed to step 5:
2163 divided by 789 is 2 with a remainder of 585.
Put 2 as the next digit of the answer. 
Result so far: 32.0
The remainder is 585 after subtracting 1578 from 2163.
Take the next digit (7) from the dividend and append it to 585, then repeat: 5857 / 789

Advancing to step 6:
If we divide 5857 by 789, we get 7 and a remainder of 334.
Record the quotient 7 as the next digit in the result. 
Result so far: 327.0
If we take 5523 away from 5857, we end up with 334.
Bring next digit (9) of the dividend behind the 334 and repeat the process: 3349 / 789

Let's proceed to step 7:
789 goes into 3349 4 times with a remainder of 193.
Put 4 as the next digit of the answer. 
Result so far: 3274.0
If we take 3156 away from 3349, we end up with 193.
Include the next digit (1) from the dividend after 193, then repeat: 1931 / 789

Moving on to step 8:
If we divide 1931 by 789, we get 2 and a remainder of 353.
Put 2 as the next digit of the answer. 
Result so far: 32742.0
Subtract 1578 from 1931 to get 353.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Step 9:
3530 divided by 789 is 4 with a remainder of 374.
Put 4 as the next digit of the answer. 
Result so far: 32742.4
Subtract 3156 from 3530 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

On to step 10:
789 goes into 3740 4 times with a remainder of 584.
Put 4 as the next digit of the answer. 
Result so far: 32742.44
Deduct 3156 from 3740 and we're left with 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

In conclusion, the division gives 32742.44 with a balance of 0.584.