We divide 778229 by 31
The aim is to understand the frequency of 31 in 778229.

Let's proceed to step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 31

Advancing to step 2:
When dividing 77 by 31, we get 2 with a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 62 from 77, we get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 31

On to step 3:
31 goes into 158 5 times with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Subtracting 155 from 158 leaves us with 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 31

Advancing to step 4:
32 divided by 31 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 251.0
Subtract 31 from 32 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 31

Let's proceed to step 5:
12 divided by 31 is 0 with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 2510.0
If we take 0 away from 12, we end up with 12.
Append the next digit (9) from the dividend to 12 and continue with: 129 / 31

Step 6:
31 goes into 129 4 times with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 25104.0
If we take 124 away from 129, we end up 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.

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

Going ahead to step 8:
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.16
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
31 goes into 40 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 25104.161
If we take 31 away from 40, we end up 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.

Going ahead to step 10:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 25104.1612
If we subtract 62 from 90, we 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.

On to step 11:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 25104.16129
The remainder is 1 after subtracting 279 from 280.
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 12:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 25104.16129
If we take 0 away from 10, we end up with 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 13:
31 goes into 100 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 25104.1612903
Subtracting 93 from 100 leaves us 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 14:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 25104.16129032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 25104.16129032, and the remainder is 8e-09.