We're dividing 585124 by 25 
The aim is to understand the frequency of 25 in 585124.

Advancing to step 1:
If we divide 5 by 25, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 25

Step 2:
When dividing 58 by 25, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 50 away from 58, we end up with 8.
Fetch the next digit (5) from the dividend, attach it to 8 and continue: 85 / 25

Step 3:
The number 25 fits into 85 3 times, leaving a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
Subtracting 75 from 85 leaves us with 10.
Bring next digit (1) of the dividend behind the 10 and repeat the process: 101 / 25

On to step 4:
25 goes into 101 4 times with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 234.0
If we subtract 100 from 101, we get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 25

Advancing to step 5:
When dividing 12 by 25, we get 0 with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 2340.0
If we take 0 away from 12, we end up with 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 25

Moving on to step 6:
When dividing 124 by 25, we get 4 with a remainder of 24.
The next digit of our result is 4. 
Result so far: 23404.0
Subtracting 100 from 124 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 7:
240 divided by 25 is 9 with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 23404.9
Deduct 225 from 240 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 8:
150 divided by 25 is 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 23404.96
If we take 150 away from 150, 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 9:
When dividing 0 by 25, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 23404.96
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.

Moving on to step 10:
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: 23404.96
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 final result is 23404.96 with a remainder of 0.0.