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

Going ahead to step 1:
When dividing 2 by 31, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 31

Advancing to step 2:
31 goes into 27 0 times with a remainder of 27.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 27 and we're left with 27.
Grab the next digit (0) from the dividend, add it to 27, then carry on: 270 / 31

Going ahead to step 3:
If we divide 270 by 31, we get 8 and a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 248 from 270 and we're left with 22.
Take the next digit (8) from the dividend and append it to 22, then repeat: 228 / 31

Going ahead to step 4:
The number 31 fits into 228 7 times, leaving a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 87.0
Deduct 217 from 228 and we're left with 11.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 31

On to step 5:
When dividing 114 by 31, we get 3 with a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 873.0
If we subtract 93 from 114, we get 21.
Bring next digit (0) of the dividend behind the 21 and repeat the process: 210 / 31

Advancing to step 6:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 8736.0
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
31 goes into 240 7 times with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 8736.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 8:
When dividing 230 by 31, we get 7 with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 8736.77
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 8736.77 with a balance of 0.013.