We look at the division of 5604935 by 397 
The aim is to understand the frequency of 397 in 5604935.

Moving on to step 1:
The number 397 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 397

Step 2:
If we divide 56 by 397, we get 0 and a remainder of 56.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 56 to get 56.
Grab the next digit (0) from the dividend, add it to 56, then carry on: 560 / 397

Moving on to step 3:
560 divided by 397 is 1 with a remainder of 163.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 397 away from 560, we end up with 163.
Include the next digit (4) from the dividend after 163, then repeat: 1634 / 397

Advancing to step 4:
The number 397 fits into 1634 4 times, leaving a remainder of 46.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 1588 away from 1634, we end up with 46.
Bring next digit (9) of the dividend behind the 46 and repeat the process: 469 / 397

Step 5:
The number 397 fits into 469 1 times, leaving a remainder of 72.
The next digit of our result is 1. 
Result so far: 141.0
The remainder is 72 after subtracting 397 from 469.
Append the next digit (3) from the dividend to 72 and continue with: 723 / 397

Moving on to step 6:
The number 397 fits into 723 1 times, leaving a remainder of 326.
Use 1 as the next digit of our solution. 
Result so far: 1411.0
The remainder is 326 after subtracting 397 from 723.
Take the next digit (5) from the dividend and append it to 326, then repeat: 3265 / 397

Advancing to step 7:
397 goes into 3265 8 times with a remainder of 89.
Use 8 as the next digit of our solution. 
Result so far: 14118.0
If we subtract 3176 from 3265, we get 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

On to step 8:
890 divided by 397 is 2 with a remainder of 96.
Use 2 as the next digit of our solution. 
Result so far: 14118.2
Deduct 794 from 890 and we're left with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 9:
960 divided by 397 is 2 with a remainder of 166.
Write down 2 as next digit of the result. 
Result so far: 14118.22
Deduct 794 from 960 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

The final result is 14118.22 with a remainder of 0.166.