We look at the division of 517315 by 45 
The aim is to understand the frequency of 45 in 517315.

Advancing to step 1:
5 divided by 45 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 45

Moving on to step 2:
If we divide 51 by 45, we get 1 and a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 45 from 51 leaves us with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 45

Advancing to step 3:
If we divide 67 by 45, we get 1 and a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 45 from 67 to get 22.
Append the next digit (3) from the dividend to 22 and continue with: 223 / 45

Advancing to step 4:
45 goes into 223 4 times with a remainder of 43.
Put 4 as the next digit of the answer. 
Result so far: 114.0
If we subtract 180 from 223, we get 43.
Grab the next digit (1) from the dividend, add it to 43, then carry on: 431 / 45

On to step 5:
If we divide 431 by 45, we get 9 and a remainder of 26.
Put 9 as the next digit of the answer. 
Result so far: 1149.0
If we take 405 away from 431, we end up with 26.
Fetch the next digit (5) from the dividend, attach it to 26 and continue: 265 / 45

On to step 6:
45 goes into 265 5 times with a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 11495.0
Subtract 225 from 265 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 7:
400 divided by 45 is 8 with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 11495.8
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 8:
When dividing 400 by 45, we get 8 with a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 11495.88
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Our division results in 11495.88 with a remaining 0.04.