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

Going ahead to step 1:
2 divided by 31 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 31

Going ahead to step 2:
When dividing 27 by 31, we get 0 with a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 27 and we're left with 27.
Include the next digit (2) from the dividend after 27, then repeat: 272 / 31

Step 3:
If we divide 272 by 31, we get 8 and a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 248 from 272 leaves us with 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 31

On to step 4:
248 divided by 31 is 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 88.0
Deduct 248 from 248 and we're left with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 31

On to step 5:
31 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 880.0
If we subtract 0 from 7, we get 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 31

Step 6:
When dividing 73 by 31, we get 2 with a remainder of 11.
The next digit of our result is 2. 
Result so far: 8802.0
The remainder is 11 after subtracting 62 from 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 7:
If we divide 110 by 31, we get 3 and a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 8802.3
Subtracting 93 from 110 leaves us with 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:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 8802.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.

Advancing to step 9:
31 can be fit into 150 4 times, resulting in a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 8802.354
If we take 124 away from 150, we end up 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.

Moving on to step 10:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 8802.3548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 11:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 8802.35483
Subtract 93 from 120 to 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.

Advancing to step 12:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 8802.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.

Going ahead to step 13:
If we divide 220 by 31, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 8802.3548387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 14:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 8802.3548387
Deduct 0 from 30 and we're left with 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 8802.3548387 with a remainder of 3e-08.