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

On to step 1:
When dividing 2 by 45, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 45

Moving on to step 2:
29 divided by 45 is 0 with a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 45

Moving on to step 3:
If we divide 297 by 45, we get 6 and a remainder of 27.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 270 from 297 and we're left with 27.
Bring next digit (9) of the dividend behind the 27 and repeat the process: 279 / 45

Moving on to step 4:
45 can be fit into 279 6 times, resulting in a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 66.0
Deduct 270 from 279 and we're left with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 45

On to step 5:
94 divided by 45 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 662.0
Deduct 90 from 94 and we're left with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 45

Going ahead to step 6:
The number 45 fits into 48 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 6621.0
The remainder is 3 after subtracting 45 from 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
45 can be fit into 30 0 times, resulting in a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 6621.0
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
45 can be fit into 300 6 times, resulting in a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 6621.06
If we take 270 away from 300, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
300 divided by 45 is 6 with a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 6621.066
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 6621.066 with a remainder of 0.003.