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

Step 1:
45 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 45

Let's proceed to step 2:
When dividing 10 by 45, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 45

On to step 3:
When dividing 102 by 45, we get 2 with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 90 away from 102, we end up with 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 45

On to step 4:
124 divided by 45 is 2 with a remainder of 34.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Subtract 90 from 124 to get 34.
Append the next digit (6) from the dividend to 34 and continue with: 346 / 45

On to step 5:
When dividing 346 by 45, we get 7 with a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 227.0
The remainder is 31 after subtracting 315 from 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 6:
45 can be fit into 310 6 times, resulting in a remainder of 40.
Record the quotient 6 as the next digit in the result. 
Result so far: 227.6
Deduct 270 from 310 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.

Advancing to step 7:
400 divided by 45 is 8 with a remainder of 40.
The next digit of our result is 8. 
Result so far: 227.68
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead 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: 227.688
If we subtract 360 from 400, we 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.

The quotient of the division is 227.688, and the remainder is 0.004.