We're dividing 779740 by 31 
The aim is to understand the frequency of 31 in 779740.

Step 1:
7 divided by 31 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Advancing to step 2:
When dividing 77 by 31, we get 2 with a remainder of 15.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 62 from 77, we get 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 31

Step 3:
159 divided by 31 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 25.0
If we take 155 away from 159, we end up with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 31

Moving on to step 4:
If we divide 47 by 31, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 251.0
Subtract 31 from 47 to get 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 31

Advancing to step 5:
164 divided by 31 is 5 with a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 2515.0
If we subtract 155 from 164, we get 9.
Bring next digit (0) of the dividend behind the 9 and repeat the process: 90 / 31

Advancing to step 6:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 25152.0
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
When dividing 280 by 31, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 25152.9
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
When dividing 10 by 31, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 25152.9
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
100 divided by 31 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 25152.903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 25152.9032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 25152.90322
If we take 62 away from 80, we end up 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.

The final outcome is 25152.90322, with a leftover of 1.8e-05.