77879672 ÷ 31 
The aim is to understand the frequency of 31 in 77879672.

On to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

On to step 2:
If we divide 77 by 31, we get 2 and a remainder of 15.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 62 from 77 leaves us with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 31

Let's proceed to step 3:
The number 31 fits into 158 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we subtract 155 from 158, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Going ahead to step 4:
The number 31 fits into 37 1 times, leaving a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 251.0
If we take 31 away from 37, we end up with 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 31

On to step 5:
When dividing 69 by 31, we get 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 2512.0
Deduct 62 from 69 and we're left with 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 31

Step 6:
31 can be fit into 76 2 times, resulting in a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 25122.0
Deduct 62 from 76 and we're left with 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 31

Step 7:
If we divide 147 by 31, we get 4 and a remainder of 23.
The number 4 becomes the next digit in our result. 
Result so far: 251224.0
Subtracting 124 from 147 leaves us with 23.
Include the next digit (2) from the dividend after 23, then repeat: 232 / 31

Moving on to step 8:
232 divided by 31 is 7 with a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 2512247.0
Subtract 217 from 232 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 9:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 2512247.4
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
31 goes into 260 8 times with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 2512247.48
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 2512247.483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 12:
When dividing 270 by 31, we get 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 2512247.4838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 13:
When dividing 220 by 31, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 2512247.48387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 14:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 2512247.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 15:
31 can be fit into 300 9 times, resulting in a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 2512247.4838709
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 16:
If we divide 210 by 31, we get 6 and a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 2512247.48387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 2512247.48387096, with a leftover of 2.4e-08.