Let's divide 772122 by 31
The aim is to understand the frequency of 31 in 772122.

Advancing to step 1:
31 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Advancing to step 2:
31 can be fit into 77 2 times, resulting in a remainder of 15.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 77 and we're left with 15.
Bring next digit (2) of the dividend behind the 15 and repeat the process: 152 / 31

Advancing to step 3:
If we divide 152 by 31, we get 4 and a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtract 124 from 152 to get 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 31

On to step 4:
If we divide 281 by 31, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 249.0
Subtract 279 from 281 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 31

On to step 5:
31 can be fit into 22 0 times, resulting in a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 2490.0
If we subtract 0 from 22, we get 22.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 31

Advancing to step 6:
31 can be fit into 222 7 times, resulting in a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 24907.0
Subtract 217 from 222 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 24907.1
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 8:
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: 24907.16
If we subtract 186 from 190, we 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.

On to step 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 24907.161
If we subtract 31 from 40, we 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.

On to step 10:
90 divided by 31 is 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 24907.1612
Deduct 62 from 90 and we're left 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 11:
If we divide 280 by 31, we get 9 and a remainder of 1.
The next digit of our result is 9. 
Result so far: 24907.16129
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.

Advancing to step 12:
If we divide 10 by 31, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 24907.16129
Subtracting 0 from 10 leaves us 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.

Moving on to step 13:
If we divide 100 by 31, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 24907.1612903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 14:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 24907.16129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 24907.16129032 with a balance of 8e-09.