We look at the division of 4507822 by 87 
The aim is to understand the frequency of 87 in 4507822.

Step 1:
If we divide 4 by 87, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 87

Let's proceed to step 2:
87 goes into 45 0 times with a remainder of 45.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 45, we end up with 45.
Grab the next digit (0) from the dividend, add it to 45, then carry on: 450 / 87

Let's proceed to step 3:
When dividing 450 by 87, we get 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 435 from 450 leaves us with 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 87

Let's proceed to step 4:
When dividing 157 by 87, we get 1 with a remainder of 70.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
The remainder is 70 after subtracting 87 from 157.
Bring next digit (8) of the dividend behind the 70 and repeat the process: 708 / 87

Moving on to step 5:
The number 87 fits into 708 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 518.0
The remainder is 12 after subtracting 696 from 708.
Grab the next digit (2) from the dividend, add it to 12, then carry on: 122 / 87

Let's proceed to step 6:
87 can be fit into 122 1 times, resulting in a remainder of 35.
Write down 1 as next digit of the result. 
Result so far: 5181.0
If we take 87 away from 122, we end up with 35.
Take the next digit (2) from the dividend and append it to 35, then repeat: 352 / 87

Advancing to step 7:
87 can be fit into 352 4 times, resulting in a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 51814.0
Subtracting 348 from 352 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
87 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 51814.0
If we subtract 0 from 40, 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.

Step 9:
87 can be fit into 400 4 times, resulting in a remainder of 52.
The next digit of our result is 4. 
Result so far: 51814.04
The remainder is 52 after subtracting 348 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 10:
The number 87 fits into 520 5 times, leaving a remainder of 85.
Use 5 as the next digit of our solution. 
Result so far: 51814.045
The remainder is 85 after subtracting 435 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 11:
If we divide 850 by 87, we get 9 and a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 51814.0459
Subtract 783 from 850 to get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Moving on to step 12:
87 can be fit into 670 7 times, resulting in a remainder of 61.
Record the quotient 7 as the next digit in the result. 
Result so far: 51814.04597
The remainder is 61 after subtracting 609 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 13:
87 goes into 610 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 51814.045977
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.

The final outcome is 51814.045977, with a leftover of 1e-07.