We look at the division of 501731 by 85 
The aim is to understand the frequency of 85 in 501731.

Step 1:
85 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 85

Moving on to step 2:
The number 85 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Include the next digit (1) from the dividend after 50, then repeat: 501 / 85

On to step 3:
When dividing 501 by 85, we get 5 with a remainder of 76.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 425 away from 501, we end up with 76.
Grab the next digit (7) from the dividend, add it to 76, then carry on: 767 / 85

Advancing to step 4:
85 goes into 767 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 59.0
The remainder is 2 after subtracting 765 from 767.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 85

On to step 5:
23 divided by 85 is 0 with a remainder of 23.
Use 0 as the next digit of our solution. 
Result so far: 590.0
If we take 0 away from 23, we end up with 23.
Grab the next digit (1) from the dividend, add it to 23, then carry on: 231 / 85

Moving on to step 6:
If we divide 231 by 85, we get 2 and a remainder of 61.
The number 2 becomes the next digit in our result. 
Result so far: 5902.0
Subtract 170 from 231 to get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Moving on to step 7:
85 can be fit into 610 7 times, resulting in a remainder of 15.
Put 7 as the next digit of the answer. 
Result so far: 5902.7
Subtracting 595 from 610 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:
85 goes into 150 1 times with a remainder of 65.
The number 1 becomes the next digit in our result. 
Result so far: 5902.71
Subtracting 85 from 150 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Moving on to step 9:
If we divide 650 by 85, we get 7 and a remainder of 55.
The next digit of our result is 7. 
Result so far: 5902.717
Subtracting 595 from 650 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 10:
85 goes into 550 6 times with a remainder of 40.
Use 6 as the next digit of our solution. 
Result so far: 5902.7176
If we subtract 510 from 550, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 11:
85 can be fit into 400 4 times, resulting in a remainder of 60.
Use 4 as the next digit of our solution. 
Result so far: 5902.71764
The remainder is 60 after subtracting 340 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 12:
The number 85 fits into 600 7 times, leaving a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 5902.717647
The remainder is 5 after subtracting 595 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 13:
The number 85 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 5902.717647
Subtract 0 from 50 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 14:
When dividing 500 by 85, we get 5 with a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 5902.71764705
Deduct 425 from 500 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

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