We look at the division of 996318 by 25 
The aim is to understand the frequency of 25 in 996318.

Advancing to step 1:
The number 25 fits into 9 0 times, leaving a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 25

Step 2:
The number 25 fits into 99 3 times, leaving a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 24 after subtracting 75 from 99.
Take the next digit (6) from the dividend and append it to 24, then repeat: 246 / 25

Step 3:
If we divide 246 by 25, we get 9 and a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 225 from 246 to get 21.
Bring next digit (3) of the dividend behind the 21 and repeat the process: 213 / 25

Let's proceed to step 4:
25 goes into 213 8 times with a remainder of 13.
Record the quotient 8 as the next digit in the result. 
Result so far: 398.0
Subtracting 200 from 213 leaves us with 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 25

On to step 5:
The number 25 fits into 131 5 times, leaving a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 3985.0
Subtracting 125 from 131 leaves us with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 25

Step 6:
25 can be fit into 68 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 39852.0
Subtracting 50 from 68 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 7:
25 can be fit into 180 7 times, resulting in a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 39852.7
Subtracting 175 from 180 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
25 goes into 50 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 39852.72
Deduct 50 from 50 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
25 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 39852.72
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
When dividing 0 by 25, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39852.72
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 39852.72 with a remaining 0.0.