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

Step 1:
The number 45 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 45

Advancing to step 2:
When dividing 39 by 45, we get 0 with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Fetch the next digit (8) from the dividend, attach it to 39 and continue: 398 / 45

Let's proceed to step 3:
If we divide 398 by 45, we get 8 and a remainder of 38.
The next digit of our result is 8. 
Result so far: 8.0
Deduct 360 from 398 and we're left with 38.
Include the next digit (8) from the dividend after 38, then repeat: 388 / 45

Step 4:
45 goes into 388 8 times with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 88.0
Deduct 360 from 388 and we're left with 28.
Bring next digit (1) of the dividend behind the 28 and repeat the process: 281 / 45

Let's proceed to step 5:
When dividing 281 by 45, we get 6 with a remainder of 11.
The number 6 becomes the next digit in our result. 
Result so far: 886.0
Subtract 270 from 281 to get 11.
Fetch the next digit (9) from the dividend, attach it to 11 and continue: 119 / 45

Let's proceed to step 6:
When dividing 119 by 45, we get 2 with a remainder of 29.
Use 2 as the next digit of our solution. 
Result so far: 8862.0
Subtracting 90 from 119 leaves us 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.

Step 7:
45 goes into 290 6 times with a remainder of 20.
The next digit of our result is 6. 
Result so far: 8862.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.

Going ahead to step 8:
If we divide 200 by 45, we get 4 and a remainder of 20.
The next digit of our result is 4. 
Result so far: 8862.64
Subtract 180 from 200 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
The number 45 fits into 200 4 times, leaving a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 8862.644
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.

The final result is 8862.644 with a remainder of 0.002.