We're dividing 3388397 by 564 
The aim is to understand the frequency of 564 in 3388397.

On to step 1:
3 divided by 564 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 564

Advancing to step 2:
The number 564 fits into 33 0 times, leaving a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Include the next digit (8) from the dividend after 33, then repeat: 338 / 564

On to step 3:
If we divide 338 by 564, we get 0 and a remainder of 338.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 338, we end up with 338.
Include the next digit (8) from the dividend after 338, then repeat: 3388 / 564

Going ahead to step 4:
3388 divided by 564 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 3384 from 3388, we get 4.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 564

Going ahead to step 5:
564 can be fit into 43 0 times, resulting in a remainder of 43.
The number 0 becomes the next digit in our result. 
Result so far: 60.0
If we subtract 0 from 43, we get 43.
Append the next digit (9) from the dividend to 43 and continue with: 439 / 564

Moving on to step 6:
When dividing 439 by 564, we get 0 with a remainder of 439.
Write down 0 as next digit of the result. 
Result so far: 600.0
The remainder is 439 after subtracting 0 from 439.
Take the next digit (7) from the dividend and append it to 439, then repeat: 4397 / 564

On to step 7:
564 goes into 4397 7 times with a remainder of 449.
The next digit of our result is 7. 
Result so far: 6007.0
If we take 3948 away from 4397, we end up with 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Let's proceed to step 8:
If we divide 4490 by 564, we get 7 and a remainder of 542.
Use 7 as the next digit of our solution. 
Result so far: 6007.7
Subtract 3948 from 4490 to get 542.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

Let's proceed to step 9:
564 goes into 5420 9 times with a remainder of 344.
Record the quotient 9 as the next digit in the result. 
Result so far: 6007.79
Deduct 5076 from 5420 and we're left with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Going ahead to step 10:
When dividing 3440 by 564, we get 6 with a remainder of 56.
Use 6 as the next digit of our solution. 
Result so far: 6007.796
Deduct 3384 from 3440 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 11:
564 can be fit into 560 0 times, resulting in a remainder of 560.
The number 0 becomes the next digit in our result. 
Result so far: 6007.796
If we subtract 0 from 560, we get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Step 12:
5600 divided by 564 is 9 with a remainder of 524.
Put 9 as the next digit of the answer. 
Result so far: 6007.79609
If we subtract 5076 from 5600, we get 524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Advancing to step 13:
The number 564 fits into 5240 9 times, leaving a remainder of 164.
Write down 9 as next digit of the result. 
Result so far: 6007.796099
If we take 5076 away from 5240, we end up with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

In conclusion, the division gives 6007.796099 with a balance of 1.64e-05.