We look at the division of 25059731 by 317 
The aim is to understand the frequency of 317 in 25059731.

Step 1:
317 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 317

Going ahead to step 2:
If we divide 25 by 317, we get 0 and a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 25 to get 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 317

Step 3:
When dividing 250 by 317, we get 0 with a remainder of 250.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 250, we get 250.
Take the next digit (5) from the dividend and append it to 250, then repeat: 2505 / 317

Let's proceed to step 4:
If we divide 2505 by 317, we get 7 and a remainder of 286.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 2219 away from 2505, we end up with 286.
Include the next digit (9) from the dividend after 286, then repeat: 2869 / 317

On to step 5:
317 can be fit into 2869 9 times, resulting in a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 79.0
If we subtract 2853 from 2869, we get 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 317

On to step 6:
317 goes into 167 0 times with a remainder of 167.
The next digit of our result is 0. 
Result so far: 790.0
If we take 0 away from 167, we end up with 167.
Fetch the next digit (3) from the dividend, attach it to 167 and continue: 1673 / 317

Moving on to step 7:
If we divide 1673 by 317, we get 5 and a remainder of 88.
Put 5 as the next digit of the answer. 
Result so far: 7905.0
If we take 1585 away from 1673, we end up with 88.
Append the next digit (1) from the dividend to 88 and continue with: 881 / 317

Going ahead to step 8:
317 goes into 881 2 times with a remainder of 247.
The next digit of our result is 2. 
Result so far: 79052.0
If we subtract 634 from 881, we get 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Advancing to step 9:
If we divide 2470 by 317, we get 7 and a remainder of 251.
The number 7 becomes the next digit in our result. 
Result so far: 79052.7
Subtract 2219 from 2470 to get 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

Step 10:
317 goes into 2510 7 times with a remainder of 291.
Record the quotient 7 as the next digit in the result. 
Result so far: 79052.77
Subtracting 2219 from 2510 leaves us with 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

The final result is 79052.77 with a remainder of 0.291.