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

Advancing to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 31

Step 2:
31 can be fit into 67 2 times, resulting in a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 62 from 67 leaves us with 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 31

Step 3:
31 goes into 54 1 times with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtracting 31 from 54 leaves us with 23.
Take the next digit (2) from the dividend and append it to 23, then repeat: 232 / 31

Going ahead to step 4:
When dividing 232 by 31, we get 7 with a remainder of 15.
Record the quotient 7 as the next digit in the result. 
Result so far: 217.0
The remainder is 15 after subtracting 217 from 232.
Take the next digit (5) from the dividend and append it to 15, then repeat: 155 / 31

Let's proceed to step 5:
The number 31 fits into 155 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 2175.0
If we subtract 155 from 155, we get 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 31

On to step 6:
The number 31 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 21750.0
Subtract 0 from 6 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
31 can be fit into 60 1 times, resulting in a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 21750.1
Deduct 31 from 60 and we're left 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.

Going ahead to step 8:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 21750.19
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 9:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 21750.193
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
170 divided by 31 is 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 21750.1935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 21750.19354
Subtracting 124 from 150 leaves us 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.

On to step 12:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 21750.193548
Deduct 248 from 260 and we're left 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 can be fit into 120 3 times, resulting in a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 21750.1935483
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.

On to step 14:
31 goes into 270 8 times with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 21750.19354838
If we take 248 away from 270, we end up 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 21750.19354838, with a leftover of 2.2e-08.