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

Going ahead to step 1:
31 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 31

Moving on to step 2:
When dividing 84 by 31, we get 2 with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 62 from 84 leaves us with 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 31

On to step 3:
The number 31 fits into 226 7 times, leaving a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Deduct 217 from 226 and we're left with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 31

On to step 4:
If we divide 96 by 31, we get 3 and a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 273.0
The remainder is 3 after subtracting 93 from 96.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 31

Moving on to step 5:
31 goes into 38 1 times with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 2731.0
Subtract 31 from 38 to get 7.
Append the next digit (1) from the dividend to 7 and continue with: 71 / 31

On to step 6:
When dividing 71 by 31, we get 2 with a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 27312.0
Subtracting 62 from 71 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.

Moving on to step 7:
If we divide 90 by 31, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 27312.2
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 27312.29
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.

Moving on to step 9:
If we divide 10 by 31, we get 0 and a remainder of 10.
The next digit of our result is 0. 
Result so far: 27312.29
Deduct 0 from 10 and we're left 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.

Step 10:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 27312.2903
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.

Let's proceed to step 11:
70 divided by 31 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 27312.29032
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.

Moving on to step 12:
31 goes into 80 2 times with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 27312.290322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 27312.290322, and the remainder is 1.8e-06.