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

On to step 1:
7 divided by 45 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 45

Step 2:
45 can be fit into 79 1 times, resulting in a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 45 from 79 and we're left with 34.
Fetch the next digit (0) from the dividend, attach it to 34 and continue: 340 / 45

Step 3:
340 divided by 45 is 7 with a remainder of 25.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Deduct 315 from 340 and we're left with 25.
Include the next digit (9) from the dividend after 25, then repeat: 259 / 45

Advancing to step 4:
45 goes into 259 5 times with a remainder of 34.
The next digit of our result is 5. 
Result so far: 175.0
Deduct 225 from 259 and we're left with 34.
Grab the next digit (7) from the dividend, add it to 34, then carry on: 347 / 45

Let's proceed to step 5:
347 divided by 45 is 7 with a remainder of 32.
The number 7 becomes the next digit in our result. 
Result so far: 1757.0
The remainder is 32 after subtracting 315 from 347.
Take the next digit (0) from the dividend and append it to 32, then repeat: 320 / 45

Advancing to step 6:
45 can be fit into 320 7 times, resulting in a remainder of 5.
The next digit of our result is 7. 
Result so far: 17577.0
Subtract 315 from 320 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
If we divide 50 by 45, we get 1 and a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 17577.1
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
45 goes into 50 1 times with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 17577.11
If we take 45 away from 50, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 17577.11, and the remainder is 0.005.