We divide 332586 by 87
The aim is to understand the frequency of 87 in 332586.

Let's proceed to step 1:
When dividing 3 by 87, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 87

On to step 2:
When dividing 33 by 87, we get 0 with a remainder of 33.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 33 leaves us with 33.
Grab the next digit (2) from the dividend, add it to 33, then carry on: 332 / 87

Let's proceed to step 3:
When dividing 332 by 87, we get 3 with a remainder of 71.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 261 from 332 to get 71.
Fetch the next digit (5) from the dividend, attach it to 71 and continue: 715 / 87

Moving on to step 4:
The number 87 fits into 715 8 times, leaving a remainder of 19.
Use 8 as the next digit of our solution. 
Result so far: 38.0
Deduct 696 from 715 and we're left with 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 87

Let's proceed to step 5:
When dividing 198 by 87, we get 2 with a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 382.0
If we take 174 away from 198, we end up with 24.
Bring next digit (6) of the dividend behind the 24 and repeat the process: 246 / 87

On to step 6:
87 goes into 246 2 times with a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 3822.0
Subtract 174 from 246 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 7:
720 divided by 87 is 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 3822.8
Subtract 696 from 720 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
87 can be fit into 240 2 times, resulting in a remainder of 66.
Write down 2 as next digit of the result. 
Result so far: 3822.82
Subtracting 174 from 240 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
The number 87 fits into 660 7 times, leaving a remainder of 51.
The next digit of our result is 7. 
Result so far: 3822.827
Subtract 609 from 660 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Going ahead to step 10:
When dividing 510 by 87, we get 5 with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 3822.8275
Subtracting 435 from 510 leaves us 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.

Let's proceed to step 11:
750 divided by 87 is 8 with a remainder of 54.
The next digit of our result is 8. 
Result so far: 3822.82758
Subtracting 696 from 750 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 12:
87 goes into 540 6 times with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 3822.827586
If we subtract 522 from 540, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
87 can be fit into 180 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 3822.8275862
The remainder is 6 after subtracting 174 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 14:
87 goes into 60 0 times with a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 3822.8275862
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Our division results in 3822.8275862 with a remaining 6e-08.