We look at the division of 30589985 by 564 
The aim is to understand the frequency of 564 in 30589985.

Let's proceed to step 1:
3 divided by 564 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 564

Going ahead to step 2:
30 divided by 564 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Grab the next digit (5) from the dividend, add it to 30, then carry on: 305 / 564

Step 3:
The number 564 fits into 305 0 times, leaving a remainder of 305.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 305 after subtracting 0 from 305.
Include the next digit (8) from the dividend after 305, then repeat: 3058 / 564

Advancing to step 4:
564 goes into 3058 5 times with a remainder of 238.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 238 after subtracting 2820 from 3058.
Bring next digit (9) of the dividend behind the 238 and repeat the process: 2389 / 564

On to step 5:
2389 divided by 564 is 4 with a remainder of 133.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
Subtracting 2256 from 2389 leaves us with 133.
Include the next digit (9) from the dividend after 133, then repeat: 1339 / 564

On to step 6:
564 can be fit into 1339 2 times, resulting in a remainder of 211.
The next digit of our result is 2. 
Result so far: 542.0
Subtract 1128 from 1339 to get 211.
Append the next digit (8) from the dividend to 211 and continue with: 2118 / 564

On to step 7:
2118 divided by 564 is 3 with a remainder of 426.
Write down 3 as next digit of the result. 
Result so far: 5423.0
If we take 1692 away from 2118, we end up with 426.
Append the next digit (5) from the dividend to 426 and continue with: 4265 / 564

Let's proceed to step 8:
564 can be fit into 4265 7 times, resulting in a remainder of 317.
The next digit of our result is 7. 
Result so far: 54237.0
If we subtract 3948 from 4265, we get 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Let's proceed to step 9:
When dividing 3170 by 564, we get 5 with a remainder of 350.
Use 5 as the next digit of our solution. 
Result so far: 54237.5
If we take 2820 away from 3170, we end up with 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Advancing to step 10:
When dividing 3500 by 564, we get 6 with a remainder of 116.
The number 6 becomes the next digit in our result. 
Result so far: 54237.56
Deduct 3384 from 3500 and we're left with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Advancing to step 11:
If we divide 1160 by 564, we get 2 and a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 54237.562
Deduct 1128 from 1160 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 12:
If we divide 320 by 564, we get 0 and a remainder of 320.
Use 0 as the next digit of our solution. 
Result so far: 54237.562
Subtract 0 from 320 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Going ahead to step 13:
564 can be fit into 3200 5 times, resulting in a remainder of 380.
Use 5 as the next digit of our solution. 
Result so far: 54237.56205
Subtracting 2820 from 3200 leaves us with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 14:
When dividing 3800 by 564, we get 6 with a remainder of 416.
Put 6 as the next digit of the answer. 
Result so far: 54237.562056
Subtract 3384 from 3800 to get 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Step 15:
564 goes into 4160 7 times with a remainder of 212.
The number 7 becomes the next digit in our result. 
Result so far: 54237.5620567
Subtract 3948 from 4160 to get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Advancing to step 16:
When dividing 2120 by 564, we get 3 with a remainder of 428.
Put 3 as the next digit of the answer. 
Result so far: 54237.56205673
Subtract 1692 from 2120 to get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Our division results in 54237.56205673 with a remaining 4.28e-07.