407627 ÷ 87 
The aim is to understand the frequency of 87 in 407627.

Step 1:
The number 87 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 87

Step 2:
When dividing 40 by 87, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 87

Going ahead to step 3:
When dividing 407 by 87, we get 4 with a remainder of 59.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 348 from 407 and we're left with 59.
Append the next digit (6) from the dividend to 59 and continue with: 596 / 87

Moving on to step 4:
87 can be fit into 596 6 times, resulting in a remainder of 74.
Write down 6 as next digit of the result. 
Result so far: 46.0
If we take 522 away from 596, we end up with 74.
Include the next digit (2) from the dividend after 74, then repeat: 742 / 87

Going ahead to step 5:
87 goes into 742 8 times with a remainder of 46.
The next digit of our result is 8. 
Result so far: 468.0
Subtract 696 from 742 to get 46.
Fetch the next digit (7) from the dividend, attach it to 46 and continue: 467 / 87

Advancing to step 6:
87 can be fit into 467 5 times, resulting in a remainder of 32.
Write down 5 as next digit of the result. 
Result so far: 4685.0
If we take 435 away from 467, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 7:
The number 87 fits into 320 3 times, leaving a remainder of 59.
Record the quotient 3 as the next digit in the result. 
Result so far: 4685.3
Deduct 261 from 320 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Moving on to step 8:
The number 87 fits into 590 6 times, leaving a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 4685.36
Subtracting 522 from 590 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 9:
87 can be fit into 680 7 times, resulting in a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 4685.367
If we subtract 609 from 680, we get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Advancing to step 10:
87 goes into 710 8 times with a remainder of 14.
The next digit of our result is 8. 
Result so far: 4685.3678
Deduct 696 from 710 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
87 can be fit into 140 1 times, resulting in a remainder of 53.
Record the quotient 1 as the next digit in the result. 
Result so far: 4685.36781
Subtracting 87 from 140 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Advancing to step 12:
If we divide 530 by 87, we get 6 and a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 4685.367816
Deduct 522 from 530 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 13:
When dividing 80 by 87, we get 0 with a remainder of 80.
The next digit of our result is 0. 
Result so far: 4685.367816
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 14:
87 can be fit into 800 9 times, resulting in a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 4685.36781609
The remainder is 17 after subtracting 783 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The final outcome is 4685.36781609, with a leftover of 1.7e-08.