We're dividing 583831 by 87 
The aim is to understand the frequency of 87 in 583831.

Going ahead to step 1:
87 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 87

Advancing to step 2:
If we divide 58 by 87, we get 0 and a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Grab the next digit (3) from the dividend, add it to 58, then carry on: 583 / 87

Step 3:
87 goes into 583 6 times with a remainder of 61.
Write down 6 as next digit of the result. 
Result so far: 6.0
Deduct 522 from 583 and we're left with 61.
Grab the next digit (8) from the dividend, add it to 61, then carry on: 618 / 87

Moving on to step 4:
The number 87 fits into 618 7 times, leaving a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 67.0
The remainder is 9 after subtracting 609 from 618.
Fetch the next digit (3) from the dividend, attach it to 9 and continue: 93 / 87

On to step 5:
When dividing 93 by 87, we get 1 with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 671.0
Subtracting 87 from 93 leaves us with 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 87

Going ahead to step 6:
61 divided by 87 is 0 with a remainder of 61.
Use 0 as the next digit of our solution. 
Result so far: 6710.0
The remainder is 61 after subtracting 0 from 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 7:
610 divided by 87 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 6710.7
Subtracting 609 from 610 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 8:
10 divided by 87 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 6710.7
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
87 goes into 100 1 times with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 6710.701
Deduct 87 from 100 and we're left 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.

Going ahead to step 10:
87 can be fit into 130 1 times, resulting in a remainder of 43.
Write down 1 as next digit of the result. 
Result so far: 6710.7011
If we subtract 87 from 130, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

The quotient of the division is 6710.7011, and the remainder is 0.00043.