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

Advancing to step 1:
7 divided by 31 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 31

Going ahead to step 2:
31 goes into 77 2 times 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.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 31

Going ahead to step 3:
31 can be fit into 157 5 times, resulting in a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Deduct 155 from 157 and we're left with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 31

Advancing to step 4:
If we divide 24 by 31, we get 0 and a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 250.0
If we take 0 away from 24, we end up with 24.
Bring next digit (3) of the dividend behind the 24 and repeat the process: 243 / 31

On to step 5:
31 goes into 243 7 times with a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 2507.0
Subtract 217 from 243 to get 26.
Grab the next digit (7) from the dividend, add it to 26, then carry on: 267 / 31

On to step 6:
31 goes into 267 8 times with a remainder of 19.
Write down 8 as next digit of the result. 
Result so far: 25078.0
The remainder is 19 after subtracting 248 from 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 7:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 25078.6
If we take 186 away from 190, we end up 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.

Moving on to step 8:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 25078.61
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 25078.612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 10:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 25078.6129
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.

On to step 11:
10 divided by 31 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 25078.6129
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 12:
If we divide 100 by 31, we get 3 and a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 25078.612903
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.

Advancing to step 13:
70 divided by 31 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 25078.6129032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
When dividing 80 by 31, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 25078.61290322
Deduct 62 from 80 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 25078.61290322 and a remainder of 1.8e-08.