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

Let's proceed to step 1:
The number 45 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 45

Let's proceed to step 2:
45 goes into 33 0 times with a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 45

Moving on to step 3:
45 goes into 338 7 times with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 315 from 338 leaves us with 23.
Fetch the next digit (5) from the dividend, attach it to 23 and continue: 235 / 45

Advancing to step 4:
45 can be fit into 235 5 times, resulting in a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 75.0
If we subtract 225 from 235, we get 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 45

Going ahead to step 5:
45 goes into 101 2 times with a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 752.0
If we take 90 away from 101, we end up with 11.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 45

On to step 6:
If we divide 115 by 45, we get 2 and a remainder of 25.
The number 2 becomes the next digit in our result. 
Result so far: 7522.0
If we subtract 90 from 115, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 7:
45 can be fit into 250 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 7522.5
Subtracting 225 from 250 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 8:
250 divided by 45 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 7522.55
If we take 225 away from 250, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

After the division, we end up with 7522.55 and a remainder of 0.025.