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

Step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 45

Step 2:
45 goes into 37 0 times with a remainder of 37.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 37, we end up with 37.
Grab the next digit (0) from the dividend, add it to 37, then carry on: 370 / 45

Let's proceed to step 3:
The number 45 fits into 370 8 times, leaving a remainder of 10.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 360 from 370 to get 10.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 45

Moving on to step 4:
45 can be fit into 107 2 times, resulting in a remainder of 17.
The next digit of our result is 2. 
Result so far: 82.0
Subtracting 90 from 107 leaves us with 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 45

Step 5:
The number 45 fits into 179 3 times, leaving a remainder of 44.
Put 3 as the next digit of the answer. 
Result so far: 823.0
The remainder is 44 after subtracting 135 from 179.
Append the next digit (7) from the dividend to 44 and continue with: 447 / 45

Let's proceed to step 6:
The number 45 fits into 447 9 times, leaving a remainder of 42.
Put 9 as the next digit of the answer. 
Result so far: 8239.0
Subtract 405 from 447 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 7:
45 goes into 420 9 times with a remainder of 15.
The number 9 becomes the next digit in our result. 
Result so far: 8239.9
Subtracting 405 from 420 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
When dividing 150 by 45, we get 3 with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 8239.93
Deduct 135 from 150 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
45 can be fit into 150 3 times, resulting in a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 8239.933
Subtracting 135 from 150 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Our division results in 8239.933 with a remaining 0.0015.