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

Advancing to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 31

Going ahead to step 2:
If we divide 54 by 31, we get 1 and a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 54 and we're left with 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Moving on to step 3:
238 divided by 31 is 7 with a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
The remainder is 21 after subtracting 217 from 238.
Take the next digit (0) from the dividend and append it to 21, then repeat: 210 / 31

Advancing to step 4:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The next digit of our result is 6. 
Result so far: 176.0
If we subtract 186 from 210, we get 24.
Append the next digit (8) from the dividend to 24 and continue with: 248 / 31

Step 5:
31 goes into 248 8 times with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 1768.0
If we take 248 away from 248, we end up with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 31

Going ahead to step 6:
The number 31 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 17680.0
If we subtract 0 from 8, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
If we divide 80 by 31, we get 2 and a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 17680.2
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
The number 31 fits into 180 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 17680.25
Deduct 155 from 180 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.

Let's proceed to step 9:
When dividing 250 by 31, we get 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 17680.258
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.

Let's proceed to step 10:
20 divided by 31 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 17680.258
Deduct 0 from 20 and we're left 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.

Step 11:
If we divide 200 by 31, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 17680.25806
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 12:
If we divide 140 by 31, we get 4 and a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 17680.258064
Deduct 124 from 140 and we're left 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 13:
If we divide 160 by 31, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 17680.2580645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 14:
31 goes into 50 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 17680.25806451
If we take 31 away from 50, we end up 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.

After the division, we end up with 17680.25806451 and a remainder of 1.9e-08.