We divide 18721224 by 317
The aim is to understand the frequency of 317 in 18721224.

Step 1:
If we divide 1 by 317, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 317

Advancing to step 2:
If we divide 18 by 317, we get 0 and a remainder of 18.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 317

Moving on to step 3:
187 divided by 317 is 0 with a remainder of 187.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 187 and we're left with 187.
Take the next digit (2) from the dividend and append it to 187, then repeat: 1872 / 317

Step 4:
317 can be fit into 1872 5 times, resulting in a remainder of 287.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 1585 from 1872, we get 287.
Append the next digit (1) from the dividend to 287 and continue with: 2871 / 317

Moving on to step 5:
The number 317 fits into 2871 9 times, leaving a remainder of 18.
The next digit of our result is 9. 
Result so far: 59.0
Subtracting 2853 from 2871 leaves us with 18.
Take the next digit (2) from the dividend and append it to 18, then repeat: 182 / 317

Step 6:
182 divided by 317 is 0 with a remainder of 182.
Put 0 as the next digit of the answer. 
Result so far: 590.0
The remainder is 182 after subtracting 0 from 182.
Grab the next digit (2) from the dividend, add it to 182, then carry on: 1822 / 317

Step 7:
If we divide 1822 by 317, we get 5 and a remainder of 237.
Record the quotient 5 as the next digit in the result. 
Result so far: 5905.0
Deduct 1585 from 1822 and we're left with 237.
Grab the next digit (4) from the dividend, add it to 237, then carry on: 2374 / 317

On to step 8:
317 goes into 2374 7 times with a remainder of 155.
Record the quotient 7 as the next digit in the result. 
Result so far: 59057.0
Subtract 2219 from 2374 to get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Step 9:
The number 317 fits into 1550 4 times, leaving a remainder of 282.
The next digit of our result is 4. 
Result so far: 59057.4
If we subtract 1268 from 1550, we get 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

On to step 10:
When dividing 2820 by 317, we get 8 with a remainder of 284.
The number 8 becomes the next digit in our result. 
Result so far: 59057.48
Subtracting 2536 from 2820 leaves us with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

On to step 11:
If we divide 2840 by 317, we get 8 and a remainder of 304.
The number 8 becomes the next digit in our result. 
Result so far: 59057.488
Deduct 2536 from 2840 and we're left with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

The final outcome is 59057.488, with a leftover of 0.0304.