We look at the division of 31257964 by 689 
The aim is to understand the frequency of 689 in 31257964.

Going ahead to step 1:
689 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 689

Going ahead to step 2:
689 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 689

Let's proceed to step 3:
When dividing 312 by 689, we get 0 with a remainder of 312.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 312 and we're left with 312.
Bring next digit (5) of the dividend behind the 312 and repeat the process: 3125 / 689

Step 4:
3125 divided by 689 is 4 with a remainder of 369.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 2756 from 3125 and we're left with 369.
Fetch the next digit (7) from the dividend, attach it to 369 and continue: 3697 / 689

Going ahead to step 5:
The number 689 fits into 3697 5 times, leaving a remainder of 252.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
Subtract 3445 from 3697 to get 252.
Append the next digit (9) from the dividend to 252 and continue with: 2529 / 689

On to step 6:
689 goes into 2529 3 times with a remainder of 462.
Put 3 as the next digit of the answer. 
Result so far: 453.0
If we subtract 2067 from 2529, we get 462.
Fetch the next digit (6) from the dividend, attach it to 462 and continue: 4626 / 689

Advancing to step 7:
If we divide 4626 by 689, we get 6 and a remainder of 492.
Write down 6 as next digit of the result. 
Result so far: 4536.0
If we take 4134 away from 4626, we end up with 492.
Take the next digit (4) from the dividend and append it to 492, then repeat: 4924 / 689

On to step 8:
If we divide 4924 by 689, we get 7 and a remainder of 101.
The next digit of our result is 7. 
Result so far: 45367.0
Deduct 4823 from 4924 and we're left with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Step 9:
1010 divided by 689 is 1 with a remainder of 321.
Put 1 as the next digit of the answer. 
Result so far: 45367.1
If we take 689 away from 1010, we end up with 321.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

On to step 10:
When dividing 3210 by 689, we get 4 with a remainder of 454.
Put 4 as the next digit of the answer. 
Result so far: 45367.14
If we take 2756 away from 3210, we end up with 454.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4540, and continue the process.

On to step 11:
4540 divided by 689 is 6 with a remainder of 406.
Record the quotient 6 as the next digit in the result. 
Result so far: 45367.146
The remainder is 406 after subtracting 4134 from 4540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4060, and continue the process.

Let's proceed to step 12:
689 goes into 4060 5 times with a remainder of 615.
Use 5 as the next digit of our solution. 
Result so far: 45367.1465
If we take 3445 away from 4060, we end up with 615.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6150, and continue the process.

Step 13:
When dividing 6150 by 689, we get 8 with a remainder of 638.
Put 8 as the next digit of the answer. 
Result so far: 45367.14658
If we take 5512 away from 6150, we end up with 638.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6380, and continue the process.

Moving on to step 14:
When dividing 6380 by 689, we get 9 with a remainder of 179.
The next digit of our result is 9. 
Result so far: 45367.146589
Subtracting 6201 from 6380 leaves us with 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Let's proceed to step 15:
689 goes into 1790 2 times with a remainder of 412.
Put 2 as the next digit of the answer. 
Result so far: 45367.1465892
Deduct 1378 from 1790 and we're left with 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

Moving on to step 16:
The number 689 fits into 4120 5 times, leaving a remainder of 675.
Record the quotient 5 as the next digit in the result. 
Result so far: 45367.14658925
If we take 3445 away from 4120, we end up with 675.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6750, and continue the process.

Our division results in 45367.14658925 with a remaining 6.75e-07.