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

Let's proceed to step 1:
5 divided by 87 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 87

Advancing to step 2:
59 divided by 87 is 0 with a remainder of 59.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 59, we get 59.
Fetch the next digit (6) from the dividend, attach it to 59 and continue: 596 / 87

Going ahead to step 3:
When dividing 596 by 87, we get 6 with a remainder of 74.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 522 away from 596, we end up with 74.
Grab the next digit (1) from the dividend, add it to 74, then carry on: 741 / 87

Advancing to step 4:
If we divide 741 by 87, we get 8 and a remainder of 45.
The next digit of our result is 8. 
Result so far: 68.0
Deduct 696 from 741 and we're left with 45.
Take the next digit (4) from the dividend and append it to 45, then repeat: 454 / 87

Let's proceed to step 5:
When dividing 454 by 87, we get 5 with a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 685.0
If we subtract 435 from 454, we get 19.
Append the next digit (2) from the dividend to 19 and continue with: 192 / 87

Advancing to step 6:
The number 87 fits into 192 2 times, leaving a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 6852.0
The remainder is 18 after subtracting 174 from 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
If we divide 180 by 87, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 6852.2
If we subtract 174 from 180, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
87 can be fit into 60 0 times, resulting in a remainder of 60.
The next digit of our result is 0. 
Result so far: 6852.2
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 9:
When dividing 600 by 87, we get 6 with a remainder of 78.
Write down 6 as next digit of the result. 
Result so far: 6852.206
The remainder is 78 after subtracting 522 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 10:
87 can be fit into 780 8 times, resulting in a remainder of 84.
Record the quotient 8 as the next digit in the result. 
Result so far: 6852.2068
Deduct 696 from 780 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 11:
840 divided by 87 is 9 with a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 6852.20689
If we take 783 away from 840, we end up with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 12:
If we divide 570 by 87, we get 6 and a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 6852.206896
If we subtract 522 from 570, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 13:
87 goes into 480 5 times with a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 6852.2068965
If we subtract 435 from 480, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Going ahead to step 14:
The number 87 fits into 450 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 6852.20689655
If we take 435 away from 450, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

After the division, we end up with 6852.20689655 and a remainder of 1.5e-08.