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

On to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 31

Advancing to step 2:
31 can be fit into 13 0 times, resulting in a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 13 after subtracting 0 from 13.
Append the next digit (6) from the dividend to 13 and continue with: 136 / 31

Let's proceed to step 3:
When dividing 136 by 31, we get 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 124 from 136 leaves us with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 31

Let's proceed to step 4:
31 can be fit into 127 4 times, resulting in a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
Subtract 124 from 127 to get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 31

Moving on to step 5:
The number 31 fits into 37 1 times, leaving a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 441.0
Deduct 31 from 37 and we're left with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 31

Moving on to step 6:
The number 31 fits into 68 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 4412.0
If we take 62 away from 68, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
If we divide 60 by 31, we get 1 and a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 4412.1
If we take 31 away from 60, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 8:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 4412.19
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 4412.193
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 10:
When dividing 170 by 31, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 4412.1935
If we subtract 155 from 170, we 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.

Advancing to step 11:
31 goes into 150 4 times with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 4412.19354
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.

Going ahead to step 12:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 4412.193548
Subtracting 248 from 260 leaves us 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.

Moving on to step 13:
31 goes into 120 3 times with a remainder of 27.
The next digit of our result is 3. 
Result so far: 4412.1935483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
When dividing 270 by 31, we get 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 4412.19354838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 4412.19354838, with a leftover of 2.2e-08.