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

On to step 1:
If we divide 2 by 45, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 45

Going ahead to step 2:
When dividing 27 by 45, we get 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 27 after subtracting 0 from 27.
Fetch the next digit (4) from the dividend, attach it to 27 and continue: 274 / 45

Moving on to step 3:
If we divide 274 by 45, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 270 from 274 and we're left with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 45

Step 4:
45 can be fit into 47 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 61.0
If we take 45 away from 47, we end up with 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 45

Going ahead to step 5:
45 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 610.0
If we subtract 0 from 20, we get 20.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 45

Advancing to step 6:
45 goes into 202 4 times with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 6104.0
If we subtract 180 from 202, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
45 can be fit into 220 4 times, resulting in a remainder of 40.
Use 4 as the next digit of our solution. 
Result so far: 6104.4
Deduct 180 from 220 and we're left with 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:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 6104.48
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 9:
When dividing 400 by 45, we get 8 with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 6104.488
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 6104.488 with a remaining 0.004.