We're dividing 51285 by 31 
The aim is to understand the frequency of 31 in 51285.

Moving on 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
Subtract 0 from 5 to get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 31

On to step 2:
When dividing 51 by 31, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 51 to get 20.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 31

Moving on to step 3:
31 can be fit into 202 6 times, resulting in a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we subtract 186 from 202, we get 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 31

Going ahead to step 4:
The number 31 fits into 168 5 times, leaving a remainder of 13.
The next digit of our result is 5. 
Result so far: 165.0
Deduct 155 from 168 and we're left with 13.
Append the next digit (5) from the dividend to 13 and continue with: 135 / 31

Advancing to step 5:
If we divide 135 by 31, we get 4 and a remainder of 11.
Put 4 as the next digit of the answer. 
Result so far: 1654.0
Subtracting 124 from 135 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 6:
31 goes into 110 3 times with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 1654.3
Deduct 93 from 110 and we're left 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 7:
170 divided by 31 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 1654.35
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 8:
When dividing 150 by 31, we get 4 with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 1654.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.

Let's proceed to step 9:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 1654.3548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 10:
120 divided by 31 is 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 1654.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.

Moving on to step 11:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 1654.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.

Let's proceed to step 12:
When dividing 220 by 31, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 1654.3548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 13:
If we divide 30 by 31, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 1654.3548387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

In conclusion, the division gives 1654.3548387 with a balance of 3e-08.