397593 divided by 45 
The aim is to understand the frequency of 45 in 397593.

Advancing to step 1:
45 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 45

Advancing to step 2:
45 can be fit into 39 0 times, resulting in a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (7) of the dividend behind the 39 and repeat the process: 397 / 45

Advancing to step 3:
If we divide 397 by 45, we get 8 and a remainder of 37.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we take 360 away from 397, we end up with 37.
Take the next digit (5) from the dividend and append it to 37, then repeat: 375 / 45

On to step 4:
When dividing 375 by 45, we get 8 with a remainder of 15.
Record the quotient 8 as the next digit in the result. 
Result so far: 88.0
Subtract 360 from 375 to get 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 45

Step 5:
The number 45 fits into 159 3 times, leaving a remainder of 24.
The number 3 becomes the next digit in our result. 
Result so far: 883.0
The remainder is 24 after subtracting 135 from 159.
Fetch the next digit (3) from the dividend, attach it to 24 and continue: 243 / 45

Moving on to step 6:
If we divide 243 by 45, we get 5 and a remainder of 18.
The next digit of our result is 5. 
Result so far: 8835.0
If we subtract 225 from 243, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 7:
45 can be fit into 180 4 times, resulting in a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 8835.4
Subtracting 180 from 180 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 45 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8835.4
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
45 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 8835.4
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 8835.4 and a remainder of 0.0.