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

Let's proceed to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 31

Advancing to step 2:
The number 31 fits into 78 2 times, leaving a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 62 away from 78, we end up with 16.
Grab the next digit (4) from the dividend, add it to 16, then carry on: 164 / 31

Moving on to step 3:
The number 31 fits into 164 5 times, leaving a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 25.0
Deduct 155 from 164 and we're left with 9.
Take the next digit (2) from the dividend and append it to 9, then repeat: 92 / 31

Let's proceed to step 4:
When dividing 92 by 31, we get 2 with a remainder of 30.
The next digit of our result is 2. 
Result so far: 252.0
If we take 62 away from 92, we end up with 30.
Append the next digit (4) from the dividend to 30 and continue with: 304 / 31

On to step 5:
31 can be fit into 304 9 times, resulting in a remainder of 25.
Record the quotient 9 as the next digit in the result. 
Result so far: 2529.0
Subtract 279 from 304 to get 25.
Take the next digit (3) from the dividend and append it to 25, then repeat: 253 / 31

Step 6:
31 can be fit into 253 8 times, resulting in a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 25298.0
Deduct 248 from 253 and we're left 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.

On to step 7:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 25298.1
The remainder is 19 after subtracting 31 from 50.
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.
Record the quotient 6 as the next digit in the result. 
Result so far: 25298.16
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.

Going ahead to step 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 25298.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.

Step 10:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 25298.1612
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.

Advancing to step 11:
If we divide 280 by 31, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 25298.16129
Subtract 279 from 280 to get 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 12:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 25298.16129
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
If we divide 100 by 31, we get 3 and a remainder of 7.
The next digit of our result is 3. 
Result so far: 25298.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.

Step 14:
70 divided by 31 is 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 25298.16129032
If we take 62 away from 70, we end up 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.

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