We look at the division of 681281 by 31 
The aim is to understand the frequency of 31 in 681281.

Let's proceed to step 1:
When dividing 6 by 31, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 31

Let's proceed to step 2:
31 goes into 68 2 times with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 62 from 68 to get 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 31

Let's proceed to step 3:
If we divide 61 by 31, we get 1 and a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtract 31 from 61 to get 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 31

Let's proceed to step 4:
31 goes into 302 9 times with a remainder of 23.
The next digit of our result is 9. 
Result so far: 219.0
Deduct 279 from 302 and we're left with 23.
Bring next digit (8) of the dividend behind the 23 and repeat the process: 238 / 31

Moving on to step 5:
238 divided by 31 is 7 with a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 2197.0
If we subtract 217 from 238, we get 21.
Grab the next digit (1) from the dividend, add it to 21, then carry on: 211 / 31

Let's proceed to step 6:
When dividing 211 by 31, we get 6 with a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 21976.0
Deduct 186 from 211 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
When dividing 250 by 31, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 21976.8
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 21976.8
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
When dividing 200 by 31, we get 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 21976.806
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 10:
The number 31 fits into 140 4 times, leaving a remainder of 16.
The next digit of our result is 4. 
Result so far: 21976.8064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
31 goes into 160 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 21976.80645
If we subtract 155 from 160, we 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.

On to step 12:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 21976.806451
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 13:
190 divided by 31 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 21976.8064516
Subtracting 186 from 190 leaves us 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.

Advancing to step 14:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 21976.80645161
Subtracting 31 from 40 leaves us 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.

The final result is 21976.80645161 with a remainder of 9e-09.