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

On to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 87

Let's proceed to step 2:
If we divide 37 by 87, we get 0 and a remainder of 37.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 37 to get 37.
Grab the next digit (8) from the dividend, add it to 37, then carry on: 378 / 87

Let's proceed to step 3:
When dividing 378 by 87, we get 4 with a remainder of 30.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 348 from 378, we get 30.
Include the next digit (8) from the dividend after 30, then repeat: 308 / 87

Going ahead to step 4:
When dividing 308 by 87, we get 3 with a remainder of 47.
The number 3 becomes the next digit in our result. 
Result so far: 43.0
Subtracting 261 from 308 leaves us with 47.
Bring next digit (1) of the dividend behind the 47 and repeat the process: 471 / 87

Going ahead to step 5:
471 divided by 87 is 5 with a remainder of 36.
Write down 5 as next digit of the result. 
Result so far: 435.0
Deduct 435 from 471 and we're left with 36.
Append the next digit (5) from the dividend to 36 and continue with: 365 / 87

Let's proceed to step 6:
The number 87 fits into 365 4 times, leaving a remainder of 17.
The next digit of our result is 4. 
Result so far: 4354.0
Subtract 348 from 365 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
When dividing 170 by 87, we get 1 with a remainder of 83.
Write down 1 as next digit of the result. 
Result so far: 4354.1
Subtract 87 from 170 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Let's proceed to step 8:
The number 87 fits into 830 9 times, leaving a remainder of 47.
The next digit of our result is 9. 
Result so far: 4354.19
If we take 783 away from 830, we end up with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 9:
470 divided by 87 is 5 with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 4354.195
Subtract 435 from 470 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 10:
87 can be fit into 350 4 times, resulting in a remainder of 2.
The next digit of our result is 4. 
Result so far: 4354.1954
Subtracting 348 from 350 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 11:
If we divide 20 by 87, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 4354.1954
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
87 can be fit into 200 2 times, resulting in a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 4354.195402
If we subtract 174 from 200, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
87 goes into 260 2 times with a remainder of 86.
Write down 2 as next digit of the result. 
Result so far: 4354.1954022
Deduct 174 from 260 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final result is 4354.1954022 with a remainder of 8.6e-07.