Let's divide 413188 by 87
The aim is to understand the frequency of 87 in 413188.

On to step 1:
If we divide 4 by 87, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 87

Step 2:
87 goes into 41 0 times with a remainder of 41.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 41 and we're left with 41.
Bring next digit (3) of the dividend behind the 41 and repeat the process: 413 / 87

On to step 3:
413 divided by 87 is 4 with a remainder of 65.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 348 from 413, we get 65.
Bring next digit (1) of the dividend behind the 65 and repeat the process: 651 / 87

On to step 4:
When dividing 651 by 87, we get 7 with a remainder of 42.
The next digit of our result is 7. 
Result so far: 47.0
Subtract 609 from 651 to get 42.
Append the next digit (8) from the dividend to 42 and continue with: 428 / 87

Going ahead to step 5:
When dividing 428 by 87, we get 4 with a remainder of 80.
Use 4 as the next digit of our solution. 
Result so far: 474.0
Subtract 348 from 428 to get 80.
Grab the next digit (8) from the dividend, add it to 80, then carry on: 808 / 87

Advancing to step 6:
87 goes into 808 9 times with a remainder of 25.
Record the quotient 9 as the next digit in the result. 
Result so far: 4749.0
Subtract 783 from 808 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
87 goes into 250 2 times with a remainder of 76.
Record the quotient 2 as the next digit in the result. 
Result so far: 4749.2
If we subtract 174 from 250, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 8:
The number 87 fits into 760 8 times, leaving a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 4749.28
Deduct 696 from 760 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 9:
The number 87 fits into 640 7 times, leaving a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 4749.287
If we take 609 away from 640, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 10:
When dividing 310 by 87, we get 3 with a remainder of 49.
Record the quotient 3 as the next digit in the result. 
Result so far: 4749.2873
If we subtract 261 from 310, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Going ahead to step 11:
87 goes into 490 5 times with a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 4749.28735
Deduct 435 from 490 and we're left with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 12:
The number 87 fits into 550 6 times, leaving a remainder of 28.
The next digit of our result is 6. 
Result so far: 4749.287356
If we subtract 522 from 550, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
If we divide 280 by 87, we get 3 and a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 4749.2873563
Subtract 261 from 280 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 14:
If we divide 190 by 87, we get 2 and a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 4749.28735632
The remainder is 16 after subtracting 174 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 4749.28735632 with a remaining 1.6e-08.