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

Let's proceed to step 1:
87 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 87

Advancing to step 2:
31 divided by 87 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 87

Advancing to step 3:
87 can be fit into 312 3 times, resulting in a remainder of 51.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 51 after subtracting 261 from 312.
Grab the next digit (1) from the dividend, add it to 51, then carry on: 511 / 87

Moving on to step 4:
511 divided by 87 is 5 with a remainder of 76.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
The remainder is 76 after subtracting 435 from 511.
Bring next digit (1) of the dividend behind the 76 and repeat the process: 761 / 87

Moving on to step 5:
When dividing 761 by 87, we get 8 with a remainder of 65.
Write down 8 as next digit of the result. 
Result so far: 358.0
Deduct 696 from 761 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Let's proceed to step 6:
650 divided by 87 is 7 with a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 358.7
Subtract 609 from 650 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 7:
When dividing 410 by 87, we get 4 with a remainder of 62.
Write down 4 as next digit of the result. 
Result so far: 358.74
Subtract 348 from 410 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 8:
The number 87 fits into 620 7 times, leaving a remainder of 11.
The next digit of our result is 7. 
Result so far: 358.747
If we take 609 away from 620, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 9:
110 divided by 87 is 1 with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 358.7471
Subtract 87 from 110 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 10:
87 goes into 230 2 times with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 358.74712
If we take 174 away from 230, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 11:
87 goes into 560 6 times with a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 358.747126
If we take 522 away from 560, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 12:
87 goes into 380 4 times with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 358.7471264
The remainder is 32 after subtracting 348 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 13:
87 goes into 320 3 times with a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 358.74712643
If we take 261 away from 320, we end up with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

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