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

Moving on to step 1:
3 divided by 317 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 317

Going ahead to step 2:
The number 317 fits into 34 0 times, leaving a remainder of 34.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Include the next digit (1) from the dividend after 34, then repeat: 341 / 317

Moving on to step 3:
The number 317 fits into 341 1 times, leaving a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 317 from 341 leaves us with 24.
Grab the next digit (2) from the dividend, add it to 24, then carry on: 242 / 317

Let's proceed to step 4:
242 divided by 317 is 0 with a remainder of 242.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 242 and we're left with 242.
Take the next digit (1) from the dividend and append it to 242, then repeat: 2421 / 317

Advancing to step 5:
The number 317 fits into 2421 7 times, leaving a remainder of 202.
Write down 7 as next digit of the result. 
Result so far: 107.0
Subtract 2219 from 2421 to get 202.
Grab the next digit (7) from the dividend, add it to 202, then carry on: 2027 / 317

Going ahead to step 6:
If we divide 2027 by 317, we get 6 and a remainder of 125.
Record the quotient 6 as the next digit in the result. 
Result so far: 1076.0
Deduct 1902 from 2027 and we're left with 125.
Append the next digit (2) from the dividend to 125 and continue with: 1252 / 317

On to step 7:
1252 divided by 317 is 3 with a remainder of 301.
Write down 3 as next digit of the result. 
Result so far: 10763.0
Subtract 951 from 1252 to get 301.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3010, and continue the process.

Let's proceed to step 8:
The number 317 fits into 3010 9 times, leaving a remainder of 157.
The next digit of our result is 9. 
Result so far: 10763.9
The remainder is 157 after subtracting 2853 from 3010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Going ahead to step 9:
317 goes into 1570 4 times with a remainder of 302.
The next digit of our result is 4. 
Result so far: 10763.94
The remainder is 302 after subtracting 1268 from 1570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Advancing to step 10:
When dividing 3020 by 317, we get 9 with a remainder of 167.
Write down 9 as next digit of the result. 
Result so far: 10763.949
If we subtract 2853 from 3020, we get 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Moving on to step 11:
The number 317 fits into 1670 5 times, leaving a remainder of 85.
Write down 5 as next digit of the result. 
Result so far: 10763.9495
Subtracting 1585 from 1670 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 12:
The number 317 fits into 850 2 times, leaving a remainder of 216.
Record the quotient 2 as the next digit in the result. 
Result so far: 10763.94952
If we subtract 634 from 850, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 13:
When dividing 2160 by 317, we get 6 with a remainder of 258.
Write down 6 as next digit of the result. 
Result so far: 10763.949526
The remainder is 258 after subtracting 1902 from 2160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

On to step 14:
If we divide 2580 by 317, we get 8 and a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 10763.9495268
Subtracting 2536 from 2580 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 15:
The number 317 fits into 440 1 times, leaving a remainder of 123.
The next digit of our result is 1. 
Result so far: 10763.94952681
Subtract 317 from 440 to get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

The final outcome is 10763.94952681, with a leftover of 1.23e-07.