Let's divide 938587 by 12
The aim is to understand the frequency of 12 in 938587.

Going ahead to step 1:
The number 12 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 12

Advancing to step 2:
If we divide 93 by 12, we get 7 and a remainder of 9.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 84 from 93 to get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 12

Going ahead to step 3:
12 goes into 98 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtract 96 from 98 to get 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 12

On to step 4:
25 divided by 12 is 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 782.0
If we take 24 away from 25, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 12

Going ahead to step 5:
12 can be fit into 18 1 times, resulting in a remainder of 6.
The next digit of our result is 1. 
Result so far: 7821.0
The remainder is 6 after subtracting 12 from 18.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 12

Moving on to step 6:
When dividing 67 by 12, we get 5 with a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 78215.0
If we take 60 away from 67, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
12 goes into 70 5 times with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 78215.5
Deduct 60 from 70 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
100 divided by 12 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 78215.58
Deduct 96 from 100 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
12 goes into 40 3 times with a remainder of 4.
The next digit of our result is 3. 
Result so far: 78215.583
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 10:
When dividing 40 by 12, we get 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 78215.5833
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 78215.5833 and a remainder of 4e-05.