126794 ÷ 45 
The aim is to understand the frequency of 45 in 126794.

Moving on to step 1:
45 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 45

On to step 2:
If we divide 12 by 45, we get 0 and a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 45

Advancing to step 3:
The number 45 fits into 126 2 times, leaving a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 90 from 126 to get 36.
Bring next digit (7) of the dividend behind the 36 and repeat the process: 367 / 45

Moving on to step 4:
If we divide 367 by 45, we get 8 and a remainder of 7.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
Deduct 360 from 367 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 45

Moving on to step 5:
45 can be fit into 79 1 times, resulting in a remainder of 34.
Use 1 as the next digit of our solution. 
Result so far: 281.0
The remainder is 34 after subtracting 45 from 79.
Take the next digit (4) from the dividend and append it to 34, then repeat: 344 / 45

On to step 6:
45 can be fit into 344 7 times, resulting in a remainder of 29.
The number 7 becomes the next digit in our result. 
Result so far: 2817.0
Deduct 315 from 344 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 7:
290 divided by 45 is 6 with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 2817.6
The remainder is 20 after subtracting 270 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
45 goes into 200 4 times with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 2817.64
Deduct 180 from 200 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 2817.644
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 2817.644 and a remainder of 0.002.