We're dividing 126744 by 45 
The aim is to understand the frequency of 45 in 126744.

Going ahead to step 1:
The number 45 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 45

Step 2:
When dividing 12 by 45, we get 0 with a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Append the next digit (6) from the dividend to 12 and continue with: 126 / 45

Going ahead to step 3:
45 goes into 126 2 times with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 36 after subtracting 90 from 126.
Append the next digit (7) from the dividend to 36 and continue with: 367 / 45

On to step 4:
When dividing 367 by 45, we get 8 with a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Deduct 360 from 367 and we're left with 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 45

Going ahead to step 5:
74 divided by 45 is 1 with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 281.0
If we take 45 away from 74, we end up with 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 45

Advancing to step 6:
45 can be fit into 294 6 times, resulting in a remainder of 24.
The next digit of our result is 6. 
Result so far: 2816.0
Deduct 270 from 294 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
When dividing 240 by 45, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 2816.5
Deduct 225 from 240 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.

Going ahead to step 8:
The number 45 fits into 150 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 2816.53
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.

Going ahead to step 9:
If we divide 150 by 45, we get 3 and a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 2816.533
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.

The quotient of the division is 2816.533, and the remainder is 0.0015.