We divide 940776 by 589
The aim is to understand the frequency of 589 in 940776.

Moving on to step 1:
If we divide 9 by 589, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 589

Moving on to step 2:
589 can be fit into 94 0 times, resulting in a remainder of 94.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 94 leaves us with 94.
Take the next digit (0) from the dividend and append it to 94, then repeat: 940 / 589

Step 3:
589 goes into 940 1 times with a remainder of 351.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 589 from 940 leaves us with 351.
Take the next digit (7) from the dividend and append it to 351, then repeat: 3517 / 589

Step 4:
If we divide 3517 by 589, we get 5 and a remainder of 572.
The next digit of our result is 5. 
Result so far: 15.0
The remainder is 572 after subtracting 2945 from 3517.
Take the next digit (7) from the dividend and append it to 572, then repeat: 5727 / 589

Going ahead to step 5:
The number 589 fits into 5727 9 times, leaving a remainder of 426.
The number 9 becomes the next digit in our result. 
Result so far: 159.0
If we subtract 5301 from 5727, we get 426.
Include the next digit (6) from the dividend after 426, then repeat: 4266 / 589

Step 6:
4266 divided by 589 is 7 with a remainder of 143.
Put 7 as the next digit of the answer. 
Result so far: 1597.0
If we take 4123 away from 4266, we end up with 143.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

Going ahead to step 7:
1430 divided by 589 is 2 with a remainder of 252.
The next digit of our result is 2. 
Result so far: 1597.2
The remainder is 252 after subtracting 1178 from 1430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Moving on to step 8:
2520 divided by 589 is 4 with a remainder of 164.
Use 4 as the next digit of our solution. 
Result so far: 1597.24
Subtract 2356 from 2520 to get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 9:
589 can be fit into 1640 2 times, resulting in a remainder of 462.
Record the quotient 2 as the next digit in the result. 
Result so far: 1597.242
If we take 1178 away from 1640, we end up with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Advancing to step 10:
589 can be fit into 4620 7 times, resulting in a remainder of 497.
The next digit of our result is 7. 
Result so far: 1597.2427
If we subtract 4123 from 4620, we get 497.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4970, and continue the process.

Let's proceed to step 11:
The number 589 fits into 4970 8 times, leaving a remainder of 258.
The next digit of our result is 8. 
Result so far: 1597.24278
If we take 4712 away from 4970, we end up with 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Moving on to step 12:
589 can be fit into 2580 4 times, resulting in a remainder of 224.
Use 4 as the next digit of our solution. 
Result so far: 1597.242784
The remainder is 224 after subtracting 2356 from 2580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Moving on to step 13:
When dividing 2240 by 589, we get 3 with a remainder of 473.
Record the quotient 3 as the next digit in the result. 
Result so far: 1597.2427843
The remainder is 473 after subtracting 1767 from 2240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4730, and continue the process.

Advancing to step 14:
589 goes into 4730 8 times with a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 1597.24278438
Deduct 4712 from 4730 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 1597.24278438 and a remainder of 1.8e-08.