681267 divided by 31 
The aim is to understand the frequency of 31 in 681267.

Moving on to step 1:
31 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 31

On to step 2:
When dividing 68 by 31, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 62 from 68 leaves us with 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 31

Going ahead to step 3:
61 divided by 31 is 1 with a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 21.0
Deduct 31 from 61 and we're left with 30.
Take the next digit (2) from the dividend and append it to 30, then repeat: 302 / 31

Going ahead to step 4:
If we divide 302 by 31, we get 9 and a remainder of 23.
Write down 9 as next digit of the result. 
Result so far: 219.0
Deduct 279 from 302 and we're left with 23.
Grab the next digit (6) from the dividend, add it to 23, then carry on: 236 / 31

Step 5:
When dividing 236 by 31, we get 7 with a remainder of 19.
The next digit of our result is 7. 
Result so far: 2197.0
Subtracting 217 from 236 leaves us with 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 31

Advancing to step 6:
If we divide 197 by 31, we get 6 and a remainder of 11.
Record the quotient 6 as the next digit in the result. 
Result so far: 21976.0
The remainder is 11 after subtracting 186 from 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
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: 21976.3
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 8:
31 goes into 170 5 times with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 21976.35
Subtract 155 from 170 to 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.

Step 9:
The number 31 fits into 150 4 times, leaving a remainder of 26.
The next digit of our result is 4. 
Result so far: 21976.354
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
The number 31 fits into 260 8 times, leaving a remainder of 12.
The next digit of our result is 8. 
Result so far: 21976.3548
If we take 248 away from 260, we end up 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.

Step 11:
When dividing 120 by 31, we get 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 21976.35483
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.

On to step 12:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 21976.354838
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 13:
When dividing 220 by 31, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 21976.3548387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 14:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 21976.3548387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 21976.3548387 with a remainder of 3e-08.