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

Going ahead to step 1:
The number 25 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 25

Let's proceed to step 2:
25 goes into 40 1 times with a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 25 from 40 to get 15.
Include the next digit (1) from the dividend after 15, then repeat: 151 / 25

Advancing to step 3:
25 can be fit into 151 6 times, resulting in a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we take 150 away from 151, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 25

Going ahead to step 4:
The number 25 fits into 17 0 times, leaving a remainder of 17.
The next digit of our result is 0. 
Result so far: 160.0
Deduct 0 from 17 and we're left with 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 25

Step 5:
If we divide 178 by 25, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 1607.0
Subtract 175 from 178 to get 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 25

On to step 6:
When dividing 35 by 25, we get 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 16071.0
Subtract 25 from 35 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
The number 25 fits into 100 4 times, leaving a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 16071.4
The remainder is 0 after subtracting 100 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
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: 16071.4
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
The number 25 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 16071.4
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 16071.4, and the remainder is 0.0.