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

Let's proceed to step 1:
31 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 31

On to step 2:
The number 31 fits into 77 2 times, leaving a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 62 from 77 leaves us with 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 31

Moving on to step 3:
158 divided by 31 is 5 with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtracting 155 from 158 leaves us with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 31

Let's proceed to step 4:
31 can be fit into 32 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 251.0
Subtract 31 from 32 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 31

Advancing to step 5:
When dividing 14 by 31, we get 0 with a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 2510.0
If we take 0 away from 14, we end up with 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 31

Let's proceed to step 6:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 25104.0
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
If we divide 160 by 31, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 25104.5
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
50 divided by 31 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 25104.51
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 9:
When dividing 190 by 31, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 25104.516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 10:
If we divide 40 by 31, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 25104.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 25104.51612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 12:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 25104.516129
Subtracting 279 from 280 leaves us 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.

Moving on to step 13:
10 divided by 31 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 25104.516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
When dividing 100 by 31, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 25104.51612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

In conclusion, the division gives 25104.51612903 with a balance of 7e-09.