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

Moving on to step 1:
If we divide 3 by 87, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 87

Going ahead to step 2:
33 divided by 87 is 0 with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Include the next digit (2) from the dividend after 33, then repeat: 332 / 87

Advancing to step 3:
87 can be fit into 332 3 times, resulting in a remainder of 71.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 261 from 332 leaves us with 71.
Include the next digit (4) from the dividend after 71, then repeat: 714 / 87

Advancing to step 4:
87 goes into 714 8 times with a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtract 696 from 714 to get 18.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 87

On to step 5:
87 can be fit into 186 2 times, resulting in a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 382.0
If we take 174 away from 186, we end up with 12.
Fetch the next digit (0) from the dividend, attach it to 12 and continue: 120 / 87

Moving on to step 6:
If we divide 120 by 87, we get 1 and a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 3821.0
Deduct 87 from 120 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 7:
When dividing 330 by 87, we get 3 with a remainder of 69.
Write down 3 as next digit of the result. 
Result so far: 3821.3
Deduct 261 from 330 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 8:
The number 87 fits into 690 7 times, leaving a remainder of 81.
The next digit of our result is 7. 
Result so far: 3821.37
If we subtract 609 from 690, we get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Let's proceed to step 9:
87 can be fit into 810 9 times, resulting in a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 3821.379
Deduct 783 from 810 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 10:
87 goes into 270 3 times with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 3821.3793
If we subtract 261 from 270, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
87 can be fit into 90 1 times, resulting in a remainder of 3.
The next digit of our result is 1. 
Result so far: 3821.37931
Deduct 87 from 90 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
When dividing 30 by 87, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 3821.37931
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
When dividing 300 by 87, we get 3 with a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 3821.3793103
Subtracting 261 from 300 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 14:
87 can be fit into 390 4 times, resulting in a remainder of 42.
Use 4 as the next digit of our solution. 
Result so far: 3821.37931034
The remainder is 42 after subtracting 348 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final result is 3821.37931034 with a remainder of 4.2e-08.